Research

Get research country codes

List available research country codes with document counts.


GET /research-v1/country-codes

ParameterTypeDataTypeDescription
searchquerystringCase-insensitive wildcard filter on country code (auto-converted to uppercase)
pagequeryintegerPage number (default: 1)
page_sizequeryintegerItems per page (default: 50, max: 100)

NOTE

  • Authentication requires a user-level API key with research entitlements.
  • Uses page-based pagination.
  • Search filtering uses wildcard matching with the search term automatically converted to uppercase.

Request

https://premium.aiera.com/api/research-v1/country-codes

Response

{
  "pagination": {
    "total_count": 45,
    "current_page": 1,
    "total_pages": 1,
    "page_size": 45
  },
  "data": [
    {
      "country_code": "US",
      "doc_count": 9500
    },
    {
      "country_code": "GB",
      "doc_count": 3200
    }
  ]
}

Code Samples

Bash

curl --request GET \
  --url 'https://premium.aiera.com/api/research-v1/country-codes' \
  --header 'X-API-Key: xxx'

Python

import requests
requests.request("GET", "https://premium.aiera.com/api/research-v1/country-codes", headers={"X-API-Key": "xxx"})
Previous
Get Region Types