Enums

List subdivisions by country

Changed on

Get a list of subdivisions (states, provinces, Länder, etc.) for a given country, identified by ISO 3166-1 alpha-2 or alpha-3 code.

<span>⚡ <strong>Rate limit:</strong> 250 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> FREE! No credits are charged for this API. <span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>

get/v1/enums/subdivisions

Request

  • Base URL
    https://api.fiber.ai
  • URL
    https://api.fiber.ai/v1/enums/subdivisions
  • Auth
    none declared

Query parameters

apiKeystring required

Your Fiber API key

countryCodestring required

ISO 3166-1 alpha-2 (e.g. 'US') or alpha-3 (e.g. 'USA') country code. Use GET /enums/regions to look up codes by country name.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • info

      the response's property default value was removed for the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status