Instagram Fetch Locations
2.07 credits/call
ae_instagram_fetch_locations
### Purpose Fetch the Instagram locations associated with a specified city. ### Inputs - `city_id` (required, string): The city identifier. - `page` (optional, integer): Page number, defaulting to 1; must be at least 1. ### Returns - `country_info`: Country context for the results. - `city_info`: City context for the results. - `location_list`: Locations on the requested page. - `next_page`: The next page number when more results are available.
2.07 credits/call
Pricing
2.07 credits/call
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
page | integer | No | 页码/Page number | 1 |
city_id | string | Yes | 城市ID(从fetch_cities获取)/City ID (from fetch_cities) | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_instagram_fetch_locations' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"city_id": "xxx"
}
}'No response example available yet.

