{
  "x402Version": 2,
  "id": 36302,
  "slug": "36302",
  "resource": "https://api.duoleads.com/v1/ref/country",
  "description": "Look up a country or territory by ISO 3166-1 alpha-2, alpha-3 or numeric code, or by name, and get the other codes, the official and common English names, the UN M49 region and sub-region, the currencies in use, the country-code top-level domain, and optionally the full ISO 3166-2 subdivision list with each subdivision's type. Also resolves an ISO 3166-2 subdivision code such as NL-NH directly. Names are matched case- and accent-insensitively.",
  "type": "http",
  "serviceName": "Duo Data Utilities",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "amountUsd": 0.05,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "alpha_2": {
                "type": "string"
              },
              "alpha_3": {
                "type": "string"
              },
              "currencies": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "found": {
                "type": "boolean"
              },
              "kind": {
                "type": "string"
              },
              "m49": {
                "properties": {
                  "intermediate": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "intermediate_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "region": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "region_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "subregion": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "subregion_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "region",
                  "region_name",
                  "subregion",
                  "subregion_name",
                  "intermediate",
                  "intermediate_name"
                ],
                "type": "object"
              },
              "matches": {
                "items": {
                  "properties": {
                    "alpha_2": {
                      "type": "string"
                    },
                    "alpha_3": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "numeric": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "alpha_2",
                    "alpha_3",
                    "numeric",
                    "name"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "name": {
                "type": "string"
              },
              "numeric": {
                "type": "string"
              },
              "official_name": {
                "type": "string"
              },
              "subdivision": {
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "parent": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "name",
                  "type",
                  "parent"
                ],
                "type": "object"
              },
              "subdivision_count": {
                "type": "integer"
              },
              "subdivisions": {
                "items": {
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "parent": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "type": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "name",
                    "type",
                    "parent"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "tld": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "total_matches": {
                "type": "integer"
              }
            },
            "required": [
              "found"
            ],
            "type": "object"
          },
          "meta": {
            "properties": {
              "computed_at": {
                "type": "string"
              },
              "deterministic": {
                "type": "boolean"
              },
              "disclaimer": {
                "type": "string"
              },
              "price_usd": {
                "type": "string"
              },
              "request_id": {
                "type": "string"
              },
              "sources": {
                "type": "array"
              }
            },
            "required": [
              "request_id",
              "computed_at",
              "price_usd",
              "deterministic",
              "disclaimer"
            ],
            "type": "object"
          },
          "ok": {
            "const": true
          },
          "route": {
            "const": "/v1/ref/country"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "ok",
          "route",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "code": "NL"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "alpha_2": "NL",
              "alpha_3": "NLD",
              "currencies": [
                "EUR"
              ],
              "found": true,
              "kind": "country",
              "m49": {
                "intermediate": null,
                "intermediate_name": null,
                "region": "150",
                "region_name": "Europe",
                "subregion": "155",
                "subregion_name": "Western Europe"
              },
              "name": "Netherlands",
              "numeric": "528",
              "official_name": "Kingdom of the Netherlands",
              "subdivision_count": 18,
              "tld": [
                ".nl"
              ]
            },
            "meta": {
              "computed_at": "2026-09-28T12:00:00.000Z",
              "deterministic": true,
              "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
              "price_usd": "0.05",
              "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D",
              "sources": [
                {
                  "attribution": "ISO 3166-1 official names and ISO 3166-2 subdivision data from Debian iso-codes (https://salsa.debian.org/iso-codes-team/iso-codes), (c) 2016 Dr. Tobias Quathamer, LGPL-2.1-or-later",
                  "id": "iso-codes",
                  "licence": "LGPL-2.1-or-later",
                  "published": "2026-09-28",
                  "version": "Debian iso-codes data/iso_3166-1.json (official_name) and data/iso_3166-2.json, retrieved 2026-09-28"
                },
                {
                  "attribution": "Open Knowledge Foundation datasets/country-codes (ISO 3166-1 codes)",
                  "id": "country-codes",
                  "licence": "PDDL-1.0",
                  "published": "2026-09-28",
                  "version": "datasets/country-codes, retrieved 2026-09-28"
                },
                {
                  "attribution": "Unicode CLDR, © Unicode, Inc.",
                  "id": "cldr",
                  "licence": "Unicode-3.0",
                  "published": "2026-09-28",
                  "version": "48.2.2"
                }
              ]
            },
            "ok": true,
            "route": "/v1/ref/country",
            "version": "1.0.0"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "code": {
                    "description": "ISO 3166-1 alpha-2, alpha-3 or numeric code, or an ISO 3166-2 subdivision code such as NL-NH.",
                    "maxLength": 16,
                    "type": "string"
                  },
                  "include": {
                    "default": "m49,currency,tld",
                    "description": "Comma-separated: subdivisions, m49, currency, tld. Default m49,currency,tld.",
                    "maxLength": 64,
                    "type": "string"
                  },
                  "name": {
                    "description": "Substring search on country names, case- and accent-insensitive.",
                    "maxLength": 128,
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "alpha_2": {
                        "type": "string"
                      },
                      "alpha_3": {
                        "type": "string"
                      },
                      "currencies": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "found": {
                        "type": "boolean"
                      },
                      "kind": {
                        "type": "string"
                      },
                      "m49": {
                        "properties": {
                          "intermediate": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "intermediate_name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "region": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "region_name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "subregion": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "subregion_name": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "region",
                          "region_name",
                          "subregion",
                          "subregion_name",
                          "intermediate",
                          "intermediate_name"
                        ],
                        "type": "object"
                      },
                      "matches": {
                        "items": {
                          "properties": {
                            "alpha_2": {
                              "type": "string"
                            },
                            "alpha_3": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "numeric": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "alpha_2",
                            "alpha_3",
                            "numeric",
                            "name"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "name": {
                        "type": "string"
                      },
                      "numeric": {
                        "type": "string"
                      },
                      "official_name": {
                        "type": "string"
                      },
                      "subdivision": {
                        "properties": {
                          "code": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "parent": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "name",
                          "type",
                          "parent"
                        ],
                        "type": "object"
                      },
                      "subdivision_count": {
                        "type": "integer"
                      },
                      "subdivisions": {
                        "items": {
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "parent": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "code",
                            "name",
                            "type",
                            "parent"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "tld": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "total_matches": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "found"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "properties": {
                      "computed_at": {
                        "type": "string"
                      },
                      "deterministic": {
                        "type": "boolean"
                      },
                      "disclaimer": {
                        "type": "string"
                      },
                      "price_usd": {
                        "type": "string"
                      },
                      "request_id": {
                        "type": "string"
                      },
                      "sources": {
                        "type": "array"
                      }
                    },
                    "required": [
                      "request_id",
                      "computed_at",
                      "price_usd",
                      "deterministic",
                      "disclaimer"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "const": true
                  },
                  "route": {
                    "const": "/v1/ref/country"
                  },
                  "version": {
                    "type": "string"
                  }
                },
                "required": [
                  "ok",
                  "route",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "deterministic",
    "no-api-key",
    "ref",
    "countries",
    "iso-3166",
    "bazaar"
  ],
  "sourceHost": "api.duoleads.com",
  "lastUpdated": "2026-10-01T20:53:19.716Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T20:53:19.602Z"
  },
  "metadata": {
    "serviceName": "Duo Data Utilities",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "code": "NL"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "alpha_2": "NL",
                "alpha_3": "NLD",
                "currencies": [
                  "EUR"
                ],
                "found": true,
                "kind": "country",
                "m49": {
                  "intermediate": null,
                  "intermediate_name": null,
                  "region": "150",
                  "region_name": "Europe",
                  "subregion": "155",
                  "subregion_name": "Western Europe"
                },
                "name": "Netherlands",
                "numeric": "528",
                "official_name": "Kingdom of the Netherlands",
                "subdivision_count": 18,
                "tld": [
                  ".nl"
                ]
              },
              "meta": {
                "computed_at": "2026-09-28T12:00:00.000Z",
                "deterministic": true,
                "disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
                "price_usd": "0.05",
                "request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D",
                "sources": [
                  {
                    "attribution": "ISO 3166-1 official names and ISO 3166-2 subdivision data from Debian iso-codes (https://salsa.debian.org/iso-codes-team/iso-codes), (c) 2016 Dr. Tobias Quathamer, LGPL-2.1-or-later",
                    "id": "iso-codes",
                    "licence": "LGPL-2.1-or-later",
                    "published": "2026-09-28",
                    "version": "Debian iso-codes data/iso_3166-1.json (official_name) and data/iso_3166-2.json, retrieved 2026-09-28"
                  },
                  {
                    "attribution": "Open Knowledge Foundation datasets/country-codes (ISO 3166-1 codes)",
                    "id": "country-codes",
                    "licence": "PDDL-1.0",
                    "published": "2026-09-28",
                    "version": "datasets/country-codes, retrieved 2026-09-28"
                  },
                  {
                    "attribution": "Unicode CLDR, © Unicode, Inc.",
                    "id": "cldr",
                    "licence": "Unicode-3.0",
                    "published": "2026-09-28",
                    "version": "48.2.2"
                  }
                ]
              },
              "ok": true,
              "route": "/v1/ref/country",
              "version": "1.0.0"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "code": {
                      "description": "ISO 3166-1 alpha-2, alpha-3 or numeric code, or an ISO 3166-2 subdivision code such as NL-NH.",
                      "maxLength": 16,
                      "type": "string"
                    },
                    "include": {
                      "default": "m49,currency,tld",
                      "description": "Comma-separated: subdivisions, m49, currency, tld. Default m49,currency,tld.",
                      "maxLength": 64,
                      "type": "string"
                    },
                    "name": {
                      "description": "Substring search on country names, case- and accent-insensitive.",
                      "maxLength": 128,
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "alpha_2": {
                          "type": "string"
                        },
                        "alpha_3": {
                          "type": "string"
                        },
                        "currencies": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "found": {
                          "type": "boolean"
                        },
                        "kind": {
                          "type": "string"
                        },
                        "m49": {
                          "properties": {
                            "intermediate": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "intermediate_name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "region": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "region_name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "subregion": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "subregion_name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "region",
                            "region_name",
                            "subregion",
                            "subregion_name",
                            "intermediate",
                            "intermediate_name"
                          ],
                          "type": "object"
                        },
                        "matches": {
                          "items": {
                            "properties": {
                              "alpha_2": {
                                "type": "string"
                              },
                              "alpha_3": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "numeric": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "alpha_2",
                              "alpha_3",
                              "numeric",
                              "name"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "name": {
                          "type": "string"
                        },
                        "numeric": {
                          "type": "string"
                        },
                        "official_name": {
                          "type": "string"
                        },
                        "subdivision": {
                          "properties": {
                            "code": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "parent": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "type": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "code",
                            "name",
                            "type",
                            "parent"
                          ],
                          "type": "object"
                        },
                        "subdivision_count": {
                          "type": "integer"
                        },
                        "subdivisions": {
                          "items": {
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "parent": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "name",
                              "type",
                              "parent"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "tld": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "total_matches": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "found"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "properties": {
                        "computed_at": {
                          "type": "string"
                        },
                        "deterministic": {
                          "type": "boolean"
                        },
                        "disclaimer": {
                          "type": "string"
                        },
                        "price_usd": {
                          "type": "string"
                        },
                        "request_id": {
                          "type": "string"
                        },
                        "sources": {
                          "type": "array"
                        }
                      },
                      "required": [
                        "request_id",
                        "computed_at",
                        "price_usd",
                        "deterministic",
                        "disclaimer"
                      ],
                      "type": "object"
                    },
                    "ok": {
                      "const": true
                    },
                    "route": {
                      "const": "/v1/ref/country"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "ok",
                    "route",
                    "version",
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.duoleads.com",
    "manifest_name": "api.duoleads.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "alpha_2": "string",
        "alpha_3": "string",
        "currencies": [
          "string"
        ],
        "found": true,
        "kind": "string",
        "m49": {
          "intermediate": "string",
          "intermediate_name": "string",
          "region": "string",
          "region_name": "string",
          "subregion": "string",
          "subregion_name": "string"
        },
        "matches": [
          {
            "alpha_2": "string",
            "alpha_3": "string",
            "name": "string",
            "numeric": "string"
          }
        ],
        "name": "string",
        "numeric": "string",
        "official_name": "string",
        "subdivision": {
          "code": "string",
          "name": "string",
          "parent": "string",
          "type": "string"
        },
        "subdivision_count": 0,
        "subdivisions": [
          {
            "code": "string",
            "name": "string",
            "parent": "string",
            "type": "string"
          }
        ],
        "tld": [
          "string"
        ],
        "total_matches": 0
      },
      "meta": {
        "computed_at": "string",
        "deterministic": true,
        "disclaimer": "string",
        "price_usd": "string",
        "request_id": "string",
        "sources": [
          "value"
        ]
      },
      "ok": null,
      "route": null,
      "version": "string"
    },
    "type": "string"
  }
}