/find_city_coordinatesGet Marketplace City Coordinates
$0.01
JSON
REST
About this endpoint
Access Facebook data through agntdata: Get Marketplace City Coordinates. Retrieve precise geographical data for a given city with the get_city_coordinates endpoint, returning the city's full name, latitude, and longitude coordinates; these coordinates can then be used as location filters in the search results endpoint. Responses are structured JSON for AI agents, analytics, and automation — one API key instead of juggling upstream accounts. Ideal when you need page and group posts, marketplace listings, video content, and ad discovery programmatically.
Use cases
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| exactly_one | query | boolean | optional | —Default: true |
| city | query | string | required | —Default: new york |
| country | query | string | optional | — |
Responses
Successful response
{
"type": "object"
}Agent / Developer Schema
Machine-readable formats for integrating this endpoint into AI agents and toolchains.
{
"operationId": "Get_Marketplace_City_Coordinates",
"method": "get",
"path": "/find_city_coordinates",
"summary": "Get Marketplace City Coordinates",
"description": "Retrieve precise geographical data for a given city with the get_city_coordinates endpoint, returning the city's full name, latitude, and longitude coordinates; these coordinates can then be used as location filters in the search results endpoint.",
"parameters": [
{
"name": "exactly_one",
"in": "query",
"required": false,
"schema": {
"type": "boolean",
"default": "true"
}
},
{
"name": "city",
"in": "query",
"required": true,
"schema": {
"type": "string",
"default": "new york"
}
},
{
"name": "country",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": [
{
"statusCode": "200",
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
},
{
"statusCode": "400",
"description": "Bad request"
},
{
"statusCode": "401",
"description": "Unauthorized - invalid API key"
},
{
"statusCode": "429",
"description": "Rate limit exceeded"
}
]
}Pricing
Credits are deducted from your agntdata balance on each successful API call. Failed requests (4xx/5xx) are not charged.
Related endpoints
Start using this endpoint
Generate your API key and make your first call in under a minute. Free tier available with transparent pricing.