GET /v1/instagram/v1/fetch_locations
Get locations by city
stable · 2 credits per success
Get Instagram locations list of specified city;city_id: City ID (from fetch_cities API);page: Page number, default 1;`country_info`: Country info;`city_info`: City info;`location_list`: Locations list;`next_page`: Next page number;Price;0.001 USD/request
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| page | integer | query | no | 页码 | demo |
| city_id | string | query | yes | 城市ID(从fetch_cities获取) | c2791472 |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.