Suggest locations
curl --request POST \
--url https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prefix": "Austin, T"
}
'import requests
url = "https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations"
payload = { "prefix": "Austin, T" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({prefix: 'Austin, T'})
};
fetch('https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'prefix' => 'Austin, T'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations"
payload := strings.NewReader("{\n \"prefix\": \"Austin, T\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"prefix\": \"Austin, T\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"prefix\": \"Austin, T\"\n}"
response = http.request(request)
puts response.read_body{
"locations": [
{
"admin1_code": "OK",
"city": "Austin Township",
"country_code": "US",
"geoname_id": "4529637",
"lat": 36.20282,
"lng": -99.65873,
"loc_id": "4529637",
"loc_type": "admin3",
"name": "Austin Township, OK USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Austin",
"country_code": "US",
"geoname_id": "4671654",
"lat": 30.26715,
"lng": -97.74306,
"loc_id": "4671654",
"loc_type": "city",
"name": "Austin, TX USA",
"population": 931830,
"postal_code": null
},
{
"admin1_code": "TN",
"city": "Austin",
"country_code": "US",
"geoname_id": "4603359",
"lat": 35.20175,
"lng": -88.2392,
"loc_id": "4603359",
"loc_type": "city",
"name": "Austin, TN USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Gateway, Austin",
"country_code": "US",
"geoname_id": "11789087",
"lat": 30.3915,
"lng": -97.74006,
"loc_id": "11789087",
"loc_type": "suburb",
"name": "Gateway, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "North Burnet, Austin",
"country_code": "US",
"geoname_id": "11789090",
"lat": 30.39184,
"lng": -97.72039,
"loc_id": "11789090",
"loc_type": "suburb",
"name": "North Burnet, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "North Austin Civic Association, Austin",
"country_code": "US",
"geoname_id": "11789110",
"lat": 30.37019,
"lng": -97.70621,
"loc_id": "11789110",
"loc_type": "suburb",
"name": "North Austin Civic Association, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "North Lamar, Austin",
"country_code": "US",
"geoname_id": "11789097",
"lat": 30.3701,
"lng": -97.68669,
"loc_id": "11789097",
"loc_type": "suburb",
"name": "North Lamar, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Windsor Hills, Austin",
"country_code": "US",
"geoname_id": "11789119",
"lat": 30.36387,
"lng": -97.67636,
"loc_id": "11789119",
"loc_type": "suburb",
"name": "Windsor Hills, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Wooten, Austin",
"country_code": "US",
"geoname_id": "11789102",
"lat": 30.3602,
"lng": -97.72239,
"loc_id": "11789102",
"loc_type": "suburb",
"name": "Wooten, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": null,
"city": "Remote (USA)",
"country_code": "US",
"geoname_id": "us-remote",
"lat": 0,
"lng": 0,
"loc_id": null,
"loc_type": "virtual",
"name": "Remote (USA)",
"population": -1,
"postal_code": null
}
],
"observed_at_ms": 1789907504228,
"prefix": "Austin, T"
}ZipRecruiter US
Suggest locations
Resolve a place name to the “City, ST” form that search_jobs, company_jobs and salary take. An unknown prefix returns an empty list.
POST
https://api.aisa.one
/
apis
/
v1
/
ziprecruiter-com
/
jobs
/
suggest-locations
Suggest locations
curl --request POST \
--url https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prefix": "Austin, T"
}
'import requests
url = "https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations"
payload = { "prefix": "Austin, T" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({prefix: 'Austin, T'})
};
fetch('https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'prefix' => 'Austin, T'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations"
payload := strings.NewReader("{\n \"prefix\": \"Austin, T\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"prefix\": \"Austin, T\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"prefix\": \"Austin, T\"\n}"
response = http.request(request)
puts response.read_body{
"locations": [
{
"admin1_code": "OK",
"city": "Austin Township",
"country_code": "US",
"geoname_id": "4529637",
"lat": 36.20282,
"lng": -99.65873,
"loc_id": "4529637",
"loc_type": "admin3",
"name": "Austin Township, OK USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Austin",
"country_code": "US",
"geoname_id": "4671654",
"lat": 30.26715,
"lng": -97.74306,
"loc_id": "4671654",
"loc_type": "city",
"name": "Austin, TX USA",
"population": 931830,
"postal_code": null
},
{
"admin1_code": "TN",
"city": "Austin",
"country_code": "US",
"geoname_id": "4603359",
"lat": 35.20175,
"lng": -88.2392,
"loc_id": "4603359",
"loc_type": "city",
"name": "Austin, TN USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Gateway, Austin",
"country_code": "US",
"geoname_id": "11789087",
"lat": 30.3915,
"lng": -97.74006,
"loc_id": "11789087",
"loc_type": "suburb",
"name": "Gateway, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "North Burnet, Austin",
"country_code": "US",
"geoname_id": "11789090",
"lat": 30.39184,
"lng": -97.72039,
"loc_id": "11789090",
"loc_type": "suburb",
"name": "North Burnet, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "North Austin Civic Association, Austin",
"country_code": "US",
"geoname_id": "11789110",
"lat": 30.37019,
"lng": -97.70621,
"loc_id": "11789110",
"loc_type": "suburb",
"name": "North Austin Civic Association, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "North Lamar, Austin",
"country_code": "US",
"geoname_id": "11789097",
"lat": 30.3701,
"lng": -97.68669,
"loc_id": "11789097",
"loc_type": "suburb",
"name": "North Lamar, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Windsor Hills, Austin",
"country_code": "US",
"geoname_id": "11789119",
"lat": 30.36387,
"lng": -97.67636,
"loc_id": "11789119",
"loc_type": "suburb",
"name": "Windsor Hills, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": "TX",
"city": "Wooten, Austin",
"country_code": "US",
"geoname_id": "11789102",
"lat": 30.3602,
"lng": -97.72239,
"loc_id": "11789102",
"loc_type": "suburb",
"name": "Wooten, Austin, TX USA",
"population": 0,
"postal_code": null
},
{
"admin1_code": null,
"city": "Remote (USA)",
"country_code": "US",
"geoname_id": "us-remote",
"lat": 0,
"lng": 0,
"loc_id": null,
"loc_type": "virtual",
"name": "Remote (USA)",
"population": -1,
"postal_code": null
}
],
"observed_at_ms": 1789907504228,
"prefix": "Austin, T"
}Request contract
- Method and path: POST /apis/v1/ziprecruiter-com/jobs/suggest-locations
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/ziprecruiter-com/jobs/suggest-locations
{
"operationId": "ziprecruiter-com.jobs.suggest-locations",
"method": "POST",
"path": "/apis/v1/ziprecruiter-com/jobs/suggest-locations",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"prefix": "Austin, T"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"prefix": {
"description": "prefix",
"type": "string"
}
},
"required": [
"prefix"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Response
ZipRecruiter US/Canada location autocomplete (svc/geoac): cities and places matching a prefix with GeoNames id, state/province code, country, coordinates and population.
The response contains the tool result directly.
The provider identifies locations as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
admin1_code | string | State or province code. |
city | string | |
country_code | string | |
geoname_id | string | |
lat | number | |
lng | number | |
loc_id | string | |
loc_type | string | city, state, postal_code, ... as the service states it. |
name | string | Display name, e.g. "Austin, TX USA". |
population | number | |
postal_code | string | Null when the service gives an empty string. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.