List Metro Codes in Region

Why List Metro Codes In a Region?

When you are reviewing regions within a country, it can be helpful and useful to also retrieve specific metro codes within that region so you can geo-target exclusive metro regions. For example, if you would like to target audiences within the United States in the state of California, you may wish to further narrow down the geographical areas where you want ad to be served. With the Kevel API, you can use the MetroCodes query parameter within a specific Region to return a list of all metro codes within a region.

📘

Note

The List Metro Codes in Region endpoint is only available for United States regions.

API Syntax

When using the List Metro Codes in Region API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET [https://api.kevel.co/v1/region/{RegionCode}

Where:

  • GET - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • region - the API endpoint being called.
  • RegionCode - the list of region codes for the specific region you are searching.
Language
Authorization
Header