# Geo Data countries with postal code data API

List Geo Data countries with postal-code coverage via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, and retrieve structured data including source country name, source country code, source postal-code count summary, returned coverage-country count, and source place-data attribution for coverage selector, and postal navigation.

Documentation: https://openany.si/market/apis/geo-data/geo-data-countries-with-postal-code-data-api/?offering=f3c50e10-dabd-42ea-855f-45b7519d4784
API ID: f3c50e10-dabd-42ea-855f-45b7519d4784
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/geo/v1/postal-code-countries
Page update time: 2026-12-03T02:47:13.640Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:47:13.174Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Geo Data countries with postal code data API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "attribution": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "codes": {
            "type": "integer"
          },
          "country": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/geo/v1/postal-code-countries?output=json&raw=0' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "attribution": "Place data: GeoNames (geonames.org), CC BY 4.0",
  "cached": false,
  "count": 123,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:26:39.082Z",
  "items": [
    {
      "codes": 7,
      "country": "Andorra",
      "country_code": "AD"
    },
    {
      "codes": 178171,
      "country": "United Arab Emirates",
      "country_code": "AE"
    },
    {
      "codes": 1,
      "country": "Anguilla",
      "country_code": "AI"
    },
    {
      "codes": 494,
      "country": "Albania",
      "country_code": "AL"
    },
    {
      "codes": 772,
      "country": "Armenia",
      "country_code": "AM"
    },
    {
      "codes": 20260,
      "country": "Argentina",
      "country_code": "AR"
    },
    {
      "codes": 1,
      "country": "American Samoa",
      "country_code": "AS"
    },
    {
      "codes": 19225,
      "country": "Austria",
      "country_code": "AT"
    },
    {
      "codes": 18521,
      "country": "Australia",
      "country_code": "AU"
    },
    {
      "codes": 37,
      "country": "Aland Islands",
      "country_code": "AX"
    },
    {
      "codes": 1186,
      "country": "Azerbaijan",
      "country_code": "AZ"
    },
    {
      "codes": 1349,
      "country": "Bangladesh",
      "country_code": "BD"
    },
    {
      "codes": 2781,
      "country": "Belgium",
      "country_code": "BE"
    },
    {
      "codes": 5304,
      "country": "Bulgaria",
      "country_code": "BG"
    },
    {
      "codes": 112,
      "country": "Bermuda",
      "country_code": "BM"
    },
    {
      "codes": 5525,
      "country": "Brazil",
      "country_code": "BR"
    },
    {
      "codes": 3133,
      "country": "Belarus",
      "country_code": "BY"
    },
    {
      "codes": 900676,
      "country": "Canada",
      "country_code": "CA"
    },
    {
      "codes": 1,
      "country": "Cocos Islands",
      "country_code": "CC"
    },
    {
      "codes": 4520,
      "country": "Switzerland",
      "country_code": "CH"
    },
    {
      "codes": 346,
      "country": "Chile",
      "country_code": "CL"
    },
    {
      "codes": 2352,
      "country": "China",
      "country_code": "CN"
    },
    {
      "codes": 3681,
      "country": "Colombia",
      "country_code": "CO"
    },
    {
      "codes": 473,
      "country": "Costa Rica",
      "country_code": "CR"
    },
    {
      "codes": 1,
      "country": "Christmas Island",
      "country_code": "CX"
    },
    {
      "codes": 1127,
      "country": "Cyprus",
      "country_code": "CY"
    },
    {
      "codes": 15507,
      "country": "Czechia",
      "country_code": "CZ"
    },
    {
      "codes": 23297,
      "country": "Germany",
      "country_code": "DE"
    },
    {
      "codes": 1159,
      "country": "Denmark",
      "country_code": "DK"
    },
    {
      "codes": 544,
      "country": "Dominican Republic",
      "country_code": "DO"
    },
    {
      "codes": 15951,
      "country": "Algeria",
      "country_code": "DZ"
    },
    {
      "codes": 1225,
      "country": "Ecuador",
      "country_code": "EC"
    },
    {
      "codes": 5398,
      "country": "Estonia",
      "country_code": "EE"
    },
    {
      "codes": 37867,
      "country": "Spain",
      "country_code": "ES"
    },
    {
      "codes": 3576,
      "country": "Finland",
      "country_code": "FI"
    },
    {
      "codes": 1,
      "country": "Falkland Islands",
      "country_code": "FK"
    },
    {
      "codes": 4,
      "country": "Micronesia",
      "country_code": "FM"
    },
    {
      "codes": 130,
      "country": "Faroe Islands",
      "country_code": "FO"
    },
    {
      "codes": 51611,
      "country": "France",
      "country_code": "FR"
    },
    {
      "codes": 1839678,
      "country": "United Kingdom",
      "country_code": "GB"
    },
    {
      "codes": 77,
      "country": "French Guiana",
      "country_code": "GF"
    },
    {
      "codes": 14,
      "country": "Guernsey",
      "country_code": "GG"
    },
    {
      "codes": 1,
      "country": "Gibraltar",
      "country_code": "GI"
    },
    {
      "codes": 33,
      "country": "Greenland",
      "country_code": "GL"
    },
    {
      "codes": 105,
      "country": "Guadeloupe",
      "country_code": "GP"
    },
    {
      "codes": 1,
      "country": "South Georgia and the South Sandwich Islands",
      "country_code": "GS"
    },
    {
      "codes": 548,
      "country": "Guatemala",
      "country_code": "GT"
    },
    {
      "codes": 21,
      "country": "Guam",
      "country_code": "GU"
    },
    {
      "codes": 1,
      "country": "Hong Kong",
      "country_code": "HK"
    },
    {
      "codes": 1,
      "country": "Heard Island and McDonald Islands",
      "country_code": "HM"
    },
    {
      "codes": 38,
      "country": "Honduras",
      "country_code": "HN"
    },
    {
      "codes": 6774,
      "country": "Croatia",
      "country_code": "HR"
    },
    {
      "codes": 236,
      "country": "Haiti",
      "country_code": "HT"
    },
    {
      "codes": 3571,
      "country": "Hungary",
      "country_code": "HU"
    },
    {
      "codes": 81058,
      "country": "Indonesia",
      "country_code": "ID"
    },
    {
      "codes": 139,
      "country": "Ireland",
      "country_code": "IE"
    },
    {
      "codes": 87,
      "country": "Isle of Man",
      "country_code": "IM"
    },
    {
      "codes": 155570,
      "country": "India",
      "country_code": "IN"
    },
    {
      "codes": 1,
      "country": "British Indian Ocean Territory",
      "country_code": "IO"
    },
    {
      "codes": 195,
      "country": "Iceland",
      "country_code": "IS"
    },
    {
      "codes": 18415,
      "country": "Italy",
      "country_code": "IT"
    },
    {
      "codes": 5,
      "country": "Jersey",
      "country_code": "JE"
    },
    {
      "codes": 146883,
      "country": "Japan",
      "country_code": "JP"
    },
    {
      "codes": 890,
      "country": "Kenya",
      "country_code": "KE"
    },
    {
      "codes": 35583,
      "country": "South Korea",
      "country_code": "KR"
    },
    {
      "codes": 13,
      "country": "Liechtenstein",
      "country_code": "LI"
    },
    {
      "codes": 1837,
      "country": "Sri Lanka",
      "country_code": "LK"
    },
    {
      "codes": 21870,
      "country": "Lithuania",
      "country_code": "LT"
    },
    {
      "codes": 4519,
      "country": "Luxembourg",
      "country_code": "LU"
    },
    {
      "codes": 6101,
      "country": "Latvia",
      "country_code": "LV"
    },
    {
      "codes": 1325,
      "country": "Morocco",
      "country_code": "MA"
    },
    {
      "codes": 29,
      "country": "Monaco",
      "country_code": "MC"
    },
    {
      "codes": 1753,
      "country": "Moldova",
      "country_code": "MD"
    },
    {
      "codes": 2,
      "country": "Marshall Islands",
      "country_code": "MH"
    },
    {
      "codes": 220,
      "country": "North Macedonia",
      "country_code": "MK"
    },
    {
      "codes": 1,
      "country": "Macao",
      "country_code": "MO"
    },
    {
      "codes": 3,
      "country": "Northern Mariana Islands",
      "country_code": "MP"
    },
    {
      "codes": 100,
      "country": "Martinique",
      "country_code": "MQ"
    },
    {
      "codes": 73,
      "country": "Malta",
      "country_code": "MT"
    },
    {
      "codes": 491,
      "country": "Malawi",
      "country_code": "MW"
    },
    {
      "codes": 144655,
      "country": "Mexico",
      "country_code": "MX"
    },
    {
      "codes": 2818,
      "country": "Malaysia",
      "country_code": "MY"
    },
    {
      "codes": 52,
      "country": "New Caledonia",
      "country_code": "NC"
    },
    {
      "codes": 1,
      "country": "Norfolk Island",
      "country_code": "NF"
    },
    {
      "codes": 468809,
      "country": "The Netherlands",
      "country_code": "NL"
    },
    {
      "codes": 5132,
      "country": "Norway",
      "country_code": "NO"
    },
    {
      "codes": 1,
      "country": "Nauru",
      "country_code": "NR"
    },
    {
      "codes": 1,
      "country": "Niue",
      "country_code": "NU"
    },
    {
      "codes": 1738,
      "country": "New Zealand",
      "country_code": "NZ"
    },
    {
      "codes": 729,
      "country": "Panama",
      "country_code": "PA"
    },
    {
      "codes": 96943,
      "country": "Peru",
      "country_code": "PE"
    },
    {
      "codes": 207,
      "country": "French Polynesia",
      "country_code": "PF"
    },
    {
      "codes": 2317,
      "country": "Philippines",
      "country_code": "PH"
    },
    {
      "codes": 2563,
      "country": "Pakistan",
      "country_code": "PK"
    },
    {
      "codes": 72899,
      "country": "Poland",
      "country_code": "PL"
    },
    {
      "codes": 2,
      "country": "Saint Pierre and Miquelon",
      "country_code": "PM"
    },
    {
      "codes": 1,
      "country": "Pitcairn",
      "country_code": "PN"
    },
    {
      "codes": 177,
      "country": "Puerto Rico",
      "country_code": "PR"
    },
    {
      "codes": 206942,
      "country": "Portugal",
      "country_code": "PT"
    },
    {
      "codes": 1,
      "country": "Palau",
      "country_code": "PW"
    },
    {
      "codes": 8644,
      "country": "Paraguay",
      "country_code": "PY"
    },
    {
      "codes": 152,
      "country": "Reunion",
      "country_code": "RE"
    },
    {
      "codes": 37915,
      "country": "Romania",
      "country_code": "RO"
    },
    {
      "codes": 1155,
      "country": "Serbia",
      "country_code": "RS"
    },
    {
      "codes": 43538,
      "country": "Russia",
      "country_code": "RU"
    },
    {
      "codes": 18887,
      "country": "Sweden",
      "country_code": "SE"
    },
    {
      "codes": 121154,
      "country": "Singapore",
      "country_code": "SG"
    },
    {
      "codes": 556,
      "country": "Slovenia",
      "country_code": "SI"
    },
    {
      "codes": 8,
      "country": "Svalbard and Jan Mayen",
      "country_code": "SJ"
    },
    {
      "codes": 5233,
      "country": "Slovakia",
      "country_code": "SK"
    },
    {
      "codes": 26,
      "country": "San Marino",
      "country_code": "SM"
    },
    {
      "codes": 1,
      "country": "Turks and Caicos Islands",
      "country_code": "TC"
    },
    {
      "codes": 903,
      "country": "Thailand",
      "country_code": "TH"
    },
    {
      "codes": 36307,
      "country": "Turkey",
      "country_code": "TR"
    },
    {
      "codes": 29571,
      "country": "Ukraine",
      "country_code": "UA"
    },
    {
      "codes": 41490,
      "country": "United States",
      "country_code": "US"
    },
    {
      "codes": 1964,
      "country": "Uruguay",
      "country_code": "UY"
    },
    {
      "codes": 1,
      "country": "Vatican",
      "country_code": "VA"
    },
    {
      "codes": 16,
      "country": "U.S. Virgin Islands",
      "country_code": "VI"
    },
    {
      "codes": 3,
      "country": "Wallis and Futuna",
      "country_code": "WF"
    },
    {
      "codes": 1,
      "country": "Samoa",
      "country_code": "WS"
    },
    {
      "codes": 21,
      "country": "Mayotte",
      "country_code": "YT"
    },
    {
      "codes": 3920,
      "country": "South Africa",
      "country_code": "ZA"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/geo-data/geo-data-countries-with-postal-code-data-api/?offering=f3c50e10-dabd-42ea-855f-45b7519d4784

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
