GoDaddy Countries API

The Countries API from GoDaddy — 2 operation(s) for countries.

Operations 2

GET /v1/countries Retrieves summary country information for the provided marketId and filters #
GET /v1/countries/{countryKey} Retrieves country and summary state information for provided countryKey #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/godaddy-countries-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

godaddy-countries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Godaddy Countries API
servers:
- url: https://api.ote-godaddy.com
tags:
- name: Countries
paths:
  /v1/countries:
    get:
      tags:
      - Countries
      parameters:
      - description: MarketId in which the request is being made, and for which responses should be localized
        in: query
        name: marketId
        required: true
        schema:
          type: string
          format: bcp-47
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfCountrySummary'
        '422':
          description: marketId is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests received within interval
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorLimit'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Authorization is not required
      operationId: getCountries
      summary: Retrieves summary country information for the provided marketId and filters
  /v1/countries/{countryKey}:
    get:
      tags:
      - Countries
      parameters:
      - description: The country key
        in: path
        name: countryKey
        required: true
        schema:
          type: string
          format: iso-country-code
      - description: MarketId in which the request is being made, and for which responses should be localized
        in: query
        name: marketId
        required: true
        schema:
          type: string
          format: bcp-47
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfCountry'
        '404':
          description: Country not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: marketId is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests received within interval
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorLimit'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Authorization is not required
      operationId: getCountry
      summary: Retrieves country and summary state information for provided countryKey
components:
  schemas:
    Country:
      properties:
        callingCode:
          description: The calling code prefix used for phone numbers in this country
          type: string
        countryKey:
          description: The ISO country-code
          format: iso-country-code
          type: string
        label:
          description: The localized name of the country
          type: string
        states:
          description: List of states/provinces in this country
          items:
            $ref: '#/components/schemas/State'
          type: array
    State:
      properties:
        label:
          description: The localized name of the state, province, or territory
          type: string
        stateKey:
          description: The state code
          type: string
    CountrySummary:
      properties:
        callingCode:
          description: The calling code prefix used for phone numbers in this country
          type: string
        countryKey:
          description: The ISO country-code
          format: iso-country-code
          type: string
        label:
          description: The localized name of the country
          type: string
    Error:
      properties:
        code:
          description: Short identifier for the error, suitable for indicating the specific error within client code
          format: constant
          type: string
        fields:
          description: List of the specific fields, and the errors found with their contents
          items:
            $ref: '#/components/schemas/ErrorField'
          type: array
        message:
          description: Human-readable, English description of the error
          type: string
        stack:
          description: 'Stack trace indicating where the error occurred.<br/>

            NOTE: This attribute <strong>MAY</strong> be included for Development and Test environments.

            However, it <strong>MUST NOT</strong> be exposed from OTE nor Production systems'
          items:
            type: string
          type: array
      required:
      - code
    ArrayOfCountrySummary:
      type: array
      items:
        $ref: '#/components/schemas/CountrySummary'
    ErrorField:
      properties:
        code:
          description: Short identifier for the error, suitable for indicating the specific error within client code
          format: constant
          type: string
        message:
          description: Human-readable, English description of the problem with the contents of the field
          type: string
        path:
          description: JSONPath referring to the field within the submitted data containing an error
          format: json-path
          type: string
      required:
      - path
      - code
    ErrorLimit:
      properties:
        code:
          description: Short identifier for the error, suitable for indicating the specific error within client code
          format: constant
          type: string
        fields:
          description: List of the specific fields, and the errors found with their contents
          items:
            $ref: '#/components/schemas/ErrorField'
          type: array
        message:
          description: Human-readable, English description of the error
          type: string
        retryAfterSec:
          description: Number of seconds to wait before attempting a similar request
          format: integer-positive
          type: integer
        stack:
          description: 'Stack trace indicating where the error occurred.<br/>

            NOTE: This attribute <strong>MAY</strong> be included for Development and Test environments.

            However, it <strong>MUST NOT</strong> be exposed from OTE nor Production systems'
          items:
            type: string
          type: array
      required:
      - retryAfterSec
      - code
    ArrayOfCountry:
      type: array
      items:
        $ref: '#/components/schemas/Country'