GET /v1/instagram/v1/fetch_cities
Get cities by country
stable · 2 credits per success
Get cities/regions list of specified country;country_code: Country code, e.g. US, CN, JP;page: Page number, default 1;`country_info`: Country info;`city_list`: Cities list;`next_page`: Next page number;Price;0.001 USD/request
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| page | integer | query | no | 页码 | demo |
| country_code | string | query | yes | 国家代码(如US、CN、JP) | US |
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.