{
"error": "Rate limit exceeded: 5 per 1 second"
}
Locations
List package ZIP codes
List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use code values as the zip parameter of the connection-string endpoint.
Feature gate: returns 403 if your plan does not include ZIP targeting.
Requires the proxy:packages:read scope.
GET
/
v1
/
proxy
/
packages
/
{package_id}
/
locations
/
countries
/
{cc}
/
zip-codes
Get available zip codes for a country in a package
API key secret (starts with s_live_). Create keys in the dashboard under Settings → API keys, or via POST /v1/api-keys/. Send it as Authorization: Bearer <secret>.
Filter by network type. Valid values are the package's own types (wifi, mobile, or mix); anything else returns 400 listing the networks available on the package.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SOAX","colors":{"primary":"#10b77f","light":"#128e65","dark":"#10b77f"},"logo":{"light":"https://mintcdn.com/soax/x2dnBPUF6XiNROo6/logo/logo-wide-black.svg?fit=max\u0026auto=format\u0026n=x2dnBPUF6XiNROo6\u0026q=85\u0026s=8e1801c906e292ef153e926f6a0eb1f2","dark":"https://mintcdn.com/soax/x2dnBPUF6XiNROo6/logo/logo-wide-white.svg?fit=max\u0026auto=format\u0026n=x2dnBPUF6XiNROo6\u0026q=85\u0026s=0c6611fc658f1ec64bf928c6ecf1a105","href":"https://soax.com"},"favicon":"https://mintcdn.com/soax/x2dnBPUF6XiNROo6/logo/favicon.svg?fit=max\u0026auto=format\u0026n=x2dnBPUF6XiNROo6\u0026q=85\u0026s=82cf944d568d4b5bc1bca2be2b4fba7b","background":{"color":{"light":"#f8f7f7","dark":"#131316"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","grok","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"soax","hasAudioNarration":false,"actualSubdomain":"soax","customDomains":["developers.soax.com"],"gitSource":{"type":"github","owner":"soax-org","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af5d9ddcf5b122bc79c5507","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":34},{"language":"default","tag":"Locations","count":8},{"language":"default","tag":"Stateful Sessions","count":7},{"language":"default","tag":"Troubleshooting","count":7},{"language":"default","tag":"Trust \u0026 Safety","count":6},{"language":"default","tag":"Code Examples","count":5},{"language":"default","tag":"Getting Started","count":5},{"language":"default","tag":"API Keys","count":4},{"language":"default","tag":"Packages","count":4},{"language":"default","tag":"Dashboard","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/locations/package-zip-codes","slug":"/api/locations/package-zip-codes","pageMetadata":{"title":"List package ZIP codes","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries/{cc}/zip-codes","description":"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use `code` values as the `zip` parameter of the connection-string endpoint.\n\n**Feature gate**: returns 403 if your plan does not include ZIP targeting.\n\nRequires the `proxy:packages:read` scope.","href":"/api/locations/package-zip-codes"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use \", _jsx(_components.code, {\n children: \"code\"\n }), \" values as the \", _jsx(_components.code, {\n children: \"zip\"\n }), \" parameter of the connection-string endpoint.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Feature gate\"\n }), \": returns 403 if your plan does not include ZIP targeting.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires the \", _jsx(_components.code, {\n children: \"proxy:packages:read\"\n }), \" scope.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List package ZIP codes","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries/{cc}/zip-codes","description":"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use `code` values as the `zip` parameter of the connection-string endpoint.\n\n**Feature gate**: returns 403 if your plan does not include ZIP targeting.\n\nRequires the `proxy:packages:read` scope.","href":"/api/locations/package-zip-codes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Packages","Locations"],"summary":"Get available zip codes for a country in a package","description":"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use `code` values as the `zip` parameter of the connection-string endpoint.\n\n**Feature gate**: returns 403 if your plan does not include ZIP targeting.\n\nRequires the `proxy:packages:read` scope.","operationId":"get_country_city_zip_codes_v1_proxy_packages__package_id__locations_countries__cc__zip_codes_get","parameters":["91cb0c68-dc6f-4a60-957f-5e8c24d8a8fa","41abef73-ada1-4d06-8877-2d413bcb644b","d1d05f7e-2c1d-44c0-b0bf-aa6fe1d05a9d","53ba25d2-e253-4ba7-8e87-7594a62a7479","1757816f-0be6-4a9b-a084-c76cb745d7b8"],"responses":{"200":"f5626327-cb7f-49a7-a2de-a7e0c8785736","400":"9b23aa0d-166f-4cb5-b68c-6a1cbb80e0d4","401":"cd0f2d9c-8e28-4590-b02b-78066b615c58","403":"400afe1b-374b-40fc-b824-92c446607d54","404":"79b78a5e-4516-4b03-bf3c-e038868fcbc9","422":"f27fb65d-198c-43d7-9ab1-be2fddf46af7","429":"1e320f66-ae86-44d9-9495-d34505fad600"},"method":"get","type":"path","servers":["08a17233-9212-416d-99cf-4160667e19a4"],"security":["2dedf085-df83-48cc-82f9-d2236b4b0727"],"path":"/v1/proxy/packages/{package_id}/locations/countries/{cc}/zip-codes","baseUrlOptions":["https://api.platform.soax.com"],"title":"Get available zip codes for a country in a package","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"91cb0c68-dc6f-4a60-957f-5e8c24d8a8fa":{"name":"package_id","in":"path","required":true,"schema":{"type":"string","description":"The package's ID. To find it, open the package in [Packages](https://platform.soax.com/packages) and expand the header, or call [List packages](/api/packages/list).","title":"Package Id","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The package's ID. To find it, open the package in [Packages](https://platform.soax.com/packages) and expand the header, or call [List packages](/api/packages/list)."},"41abef73-ada1-4d06-8877-2d413bcb644b":{"name":"cc","in":"path","required":true,"schema":{"type":"string","description":"The ISO country code","title":"Cc","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The ISO country code"},"d1d05f7e-2c1d-44c0-b0bf-aa6fe1d05a9d":{"name":"network","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Network","description":"Filter by network type. Valid values are the package's own types (`wifi`, `mobile`, or `mix`); anything else returns 400 listing the networks available on the package.","enum":["wifi","mobile","mix"],"uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Network","description":"Filter by network type. Valid values are the package's own types (`wifi`, `mobile`, or `mix`); anything else returns 400 listing the networks available on the package.","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring> | null"},"description":"Filter by network type. Valid values are the package's own types (`wifi`, `mobile`, or `mix`); anything else returns 400 listing the networks available on the package."},"53ba25d2-e253-4ba7-8e87-7594a62a7479":{"name":"region","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Region","description":"The region name","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Region","description":"The region name","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"The region name"},"1757816f-0be6-4a9b-a084-c76cb745d7b8":{"name":"city","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"City","description":"The city name","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"City","description":"The city name","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"The city name"}},"responses":{"f5626327-cb7f-49a7-a2de-a7e0c8785736":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"code":{"type":"string","title":"Code","isRequired":true,"uniqueKey":"data.items.[INDEX].code","typeLabel":"string"},"name":{"type":"string","title":"Name","isRequired":true,"uniqueKey":"data.items.[INDEX].name","typeLabel":"string"},"rank":{"type":"integer","title":"Rank","description":"Position when locations are ordered by available pool size (1 = largest).","isRequired":true,"uniqueKey":"data.items.[INDEX].rank","typeLabel":"integer"},"volume_level":{"type":"integer","title":"Volume Level","minimum":1,"maximum":3,"description":"Coarse 1–3 indicator of relative IP volume: 3 = highest, 1 = lowest.","isRequired":true,"uniqueKey":"data.items.[INDEX].volume_level","typeLabel":"integer"}},"type":"object","required":["code","name","rank","volume_level"],"title":"LocationResponse","description":"Response schema for a location result.","example":{"code":"as1234","name":"AS1234","rank":1,"volume_level":3},"uniqueKey":"data.items.[INDEX]","typeLabel":"LocationResponse · object"},"type":"array","title":"Data","isRequired":true,"uniqueKey":"data","typeLabel":"LocationResponse · object[]"}},"type":"object","required":["data"],"title":"ZipCodesListResponse","description":"Response schema for list of zip codes available in a country/city for a package.","example":{"data":[{"code":"10001","name":"10001","rank":1,"volume_level":3},{"code":"10002","name":"10002","rank":2,"volume_level":2}]},"uniqueKey":"","typeLabel":"ZipCodesListResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":[{"code":"10001","name":"10001","rank":1,"volume_level":3},{"code":"10002","name":"10002","rank":2,"volume_level":2}]}}},"exampleType":"generated"}},"exampleType":"generated"},"9b23aa0d-166f-4cb5-b68c-6a1cbb80e0d4":{"description":"A parameter value is invalid. Depending on which validation layer rejects the request, the message is under `detail` (endpoint-level checks) or `error` (service-level checks); read `detail ?? error`. The message names the parameter and lists valid values where applicable.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Invalid status value: archived. Valid values are: active, deleted, limited, paused, suspended"},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid status value: archived. Valid values are: active, deleted, limited, paused, suspended"}}},"exampleType":"examples"}},"exampleType":"examples"},"cd0f2d9c-8e28-4590-b02b-78066b615c58":{"description":"Missing, invalid, or revoked API key.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Invalid API key"},"examples":{"Example":{"title":"Example","value":{"detail":"Invalid API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"400afe1b-374b-40fc-b824-92c446607d54":{"description":"The API key does not carry the scope this endpoint requires.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Missing required scope: proxy:packages:read"},"examples":{"Example":{"title":"Example","value":{"detail":"Missing required scope: proxy:packages:read"}}},"exampleType":"examples"}},"exampleType":"examples"},"79b78a5e-4516-4b03-bf3c-e038868fcbc9":{"description":"The resource does not exist, belongs to another organization, or is outside the API key's package restriction.","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"detail":"Package not found"},"examples":{"Example":{"title":"Example","value":{"detail":"Package not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"f27fb65d-198c-43d7-9ab1-be2fddf46af7":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"1e320f66-ae86-44d9-9495-d34505fad600":{"description":"Rate limit exceeded (5 requests/second per API key, 500 requests/minute per IP). The response includes `Retry-After` (seconds), `RateLimit-Limit`, `RateLimit-Remaining`, and `RateLimit-Reset` (Unix time) headers — wait `Retry-After` seconds and retry.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Rate limit exceeded: 5 per 1 second"},"examples":{"Example":{"title":"Example","value":{"error":"Rate limit exceeded: 5 per 1 second"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2dedf085-df83-48cc-82f9-d2236b4b0727":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key secret (starts with `s_live_`). Create keys in the dashboard under [**Settings → API keys**](https://platform.soax.com/settings/api-keys), or via `POST /v1/api-keys/`. Send it as `Authorization: Bearer \u003csecret>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"08a17233-9212-416d-99cf-4160667e19a4":{"url":"https://api.platform.soax.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API key secret (starts with `s_live_`). Create keys in the dashboard under [**Settings → API keys**](https://platform.soax.com/settings/api-keys), or via `POST /v1/api-keys/`. Send it as `Authorization: Bearer \u003csecret>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key secret (starts with `s_live_`). Create keys in the dashboard under [**Settings → API keys**](https://platform.soax.com/settings/api-keys), or via `POST /v1/api-keys/`. Send it as `Authorization: Bearer \u003csecret>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"soax","siteName":"SOAX","title":"List package ZIP codes - SOAX","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-12T08:54:10.026Z","originalFileLocation":"api/locations/package-zip-codes.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use code values as the zip parameter of the connection-string endpoint. Feature gate: returns 403 if your plan does not include ZIP targeting. Requires the proxy:packages:read scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SOAX\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List package ZIP codes - SOAX\">\u003cmeta data-mint-head property=\"og:description\" content=\"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use code values as the zip parameter of the connection-string endpoint. Feature gate: returns 403 if your plan does not include ZIP targeting. Requires the proxy:packages:read scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SOAX\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.soax.com/api/locations/package-zip-codes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://soax.mintlify.site/_mintlify/api/og/v2?division=Locations\u0026amp;title=List+package+ZIP+codes\u0026amp;description=List+ZIP+codes+available+in+a+country+%28optionally+narrowed+by+region+and+city%29+for+this+package.+Use+%60code%60+values+as+the+%60zip%60+parameter+of+the+connection-stri\u0026amp;theme=526423948ae0103100b8c638\u0026amp;signature=644ca4ca846cf4280f196a2b3a6eb0754bfbecc791c46986f48a07c16fc23398\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List package ZIP codes - SOAX\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use code values as the zip parameter of the connection-string endpoint. Feature gate: returns 403 if your plan does not include ZIP targeting. Requires the proxy:packages:read scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://soax.mintlify.site/_mintlify/api/og/v2?division=Locations\u0026amp;title=List+package+ZIP+codes\u0026amp;description=List+ZIP+codes+available+in+a+country+%28optionally+narrowed+by+region+and+city%29+for+this+package.+Use+%60code%60+values+as+the+%60zip%60+parameter+of+the+connection-stri\u0026amp;theme=526423948ae0103100b8c638\u0026amp;signature=644ca4ca846cf4280f196a2b3a6eb0754bfbecc791c46986f48a07c16fc23398\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/soax/xEvn0n-A8DsILfj7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SOAX\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10b77f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.soax.com/api/locations/package-zip-codes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/locations/package-zip-codes.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.soax.com/#organization\",\"name\":\"SOAX\",\"url\":\"https://developers.soax.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/soax/x2dnBPUF6XiNROo6/logo/logo-wide-black.svg?fit=max\u0026auto=format\u0026n=x2dnBPUF6XiNROo6\u0026q=85\u0026s=8e1801c906e292ef153e926f6a0eb1f2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.soax.com#website\",\"name\":\"SOAX\",\"url\":\"https://developers.soax.com\",\"publisher\":{\"@id\":\"https://developers.soax.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.soax.com/api/locations/package-zip-codes#webpage\",\"url\":\"https://developers.soax.com/api/locations/package-zip-codes\",\"name\":\"List package ZIP codes\",\"description\":\"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use code values as the zip parameter of the connection-string endpoint. Feature gate: returns 403 if your plan does not include ZIP targeting. Requires the proxy:packages:read scope.\",\"dateModified\":\"2026-08-12T08:54:10.026Z\",\"isPartOf\":{\"@id\":\"https://developers.soax.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.soax.com/api/locations/package-zip-codes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.soax.com/api/locations/package-zip-codes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://developers.soax.com/api/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Locations\",\"item\":\"https://developers.soax.com/api/locations/tiers\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"List package ZIP codes\",\"item\":\"https://developers.soax.com/api/locations/package-zip-codes\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.soax.com/api/locations/package-zip-codes#apireference\",\"headline\":\"List package ZIP codes\",\"name\":\"List package ZIP codes\",\"description\":\"List ZIP codes available in a country (optionally narrowed by region and city) for this package. Use code values as the zip parameter of the connection-string endpoint. Feature gate: returns 403 if your plan does not include ZIP targeting. Requires the proxy:packages:read scope.\",\"url\":\"https://developers.soax.com/api/locations/package-zip-codes\",\"mainEntityOfPage\":{\"@id\":\"https://developers.soax.com/api/locations/package-zip-codes#webpage\"},\"dateModified\":\"2026-08-12T08:54:10.026Z\",\"publisher\":{\"@id\":\"https://developers.soax.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.soax.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SOAX\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SOAX\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/locations/package-zip-codes.md","siteName":"SOAX","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"What is SOAX","href":"/getting-started/what-is-soax"},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Core Concepts","href":"/getting-started/core-concepts"},{"title":"Choosing the Right Proxy Type","href":"/getting-started/choosing-proxy-type"},{"title":"Authentication","href":"/getting-started/authentication"}]},{"group":"Proxies","pages":[{"title":"Residential Proxies","href":"/proxies/residential"},{"title":"Mobile Proxies","href":"/proxies/mobile"},{"title":"Stateful Sessions","href":"/proxies/stateful-sessions"}]},{"group":"Dashboard","pages":[{"title":"Quick Connect","href":"/dashboard/quick-connect"},{"title":"Package Management","href":"/dashboard/package-management"},{"title":"Usage Analytics","href":"/dashboard/usage-analytics"},{"title":"Account \u0026 Billing","href":"/dashboard/account-billing"}]},{"group":"Trust \u0026 Safety","pages":[{"title":"Responsible web access","href":"/trust/responsible-web-access"},{"title":"Customer screening \u0026 verification","href":"/trust/customer-screening"},{"title":"Access restrictions","href":"/trust/access-restrictions"},{"title":"Requesting additional access","href":"/trust/additional-access"},{"title":"Network sourcing \u0026 consent","href":"/trust/network-sourcing"},{"title":"Acceptable use \u0026 abuse response","href":"/trust/acceptable-use"}]},{"group":"API Reference","pages":[{"title":"API overview","href":"/api/overview"},{"title":"API quickstart","href":"/api/quickstart"},{"title":"API authentication","href":"/api/authentication"},{"title":"Error handling","href":"/api/errors"},{"title":"Rate limits","href":"/api/rate-limits"},{"group":"API Keys","pages":[{"title":"Get current API key","openapi":"api/openapi.json GET /v1/api-keys/me","href":"/api/keys/me"},{"title":"List API keys","openapi":"api/openapi.json GET /v1/api-keys/","href":"/api/keys/list"},{"title":"Create an API key","openapi":"api/openapi.json POST /v1/api-keys/","href":"/api/keys/create"},{"title":"Revoke an API key","openapi":"api/openapi.json DELETE /v1/api-keys/{key_id}","href":"/api/keys/revoke"}]},{"group":"Packages","pages":[{"title":"List packages","openapi":"api/openapi.json GET /v1/proxy/packages","href":"/api/packages/list"},{"title":"Get a package","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}","href":"/api/packages/get"},{"title":"Get connection strings","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/connection-string","href":"/api/packages/connection-string"},{"title":"Rotate package password","openapi":"api/openapi.json POST /v1/proxy/packages/{package_id}/rotate-password","href":"/api/packages/rotate-password"}]},{"group":"Stateful Sessions","pages":[{"title":"Create stateful sessions","openapi":"api/openapi.json POST /v1/proxy/packages/{package_id}/stateful-sessions","href":"/api/stateful-sessions/create"},{"title":"List stateful sessions","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/stateful-sessions","href":"/api/stateful-sessions/list"},{"title":"Get a stateful session","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/stateful-sessions/{session_id}","href":"/api/stateful-sessions/get"},{"title":"Update a stateful session","openapi":"api/openapi.json PATCH /v1/proxy/packages/{package_id}/stateful-sessions/{session_id}","href":"/api/stateful-sessions/update"},{"title":"Rotate a stateful session","openapi":"api/openapi.json POST /v1/proxy/packages/{package_id}/stateful-sessions/{session_id}/rotate","href":"/api/stateful-sessions/rotate"},{"title":"Delete a stateful session","openapi":"api/openapi.json DELETE /v1/proxy/packages/{package_id}/stateful-sessions/{session_id}","href":"/api/stateful-sessions/delete"},{"title":"Delete stateful sessions in bulk","openapi":"api/openapi.json POST /v1/proxy/packages/{package_id}/stateful-sessions/delete","href":"/api/stateful-sessions/bulk-delete"}]},{"group":"Locations","pages":[{"title":"List proxy tiers","openapi":"api/openapi.json GET /v1/proxy/locations/tiers","href":"/api/locations/tiers"},{"title":"List proxy countries","openapi":"api/openapi.json GET /v1/proxy/locations/countries","href":"/api/locations/countries"},{"title":"List package countries","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries","href":"/api/locations/package-countries"},{"title":"List package regions","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries/{cc}/regions","href":"/api/locations/package-regions"},{"title":"List package cities","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries/{cc}/cities","href":"/api/locations/package-cities"},{"title":"List package ISPs","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries/{cc}/isps","href":"/api/locations/package-isps"},{"title":"List package ASNs","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries/{cc}/asns","description":"List ASNs available in a country for this package. Use `code` values as the `asn` parameter of the connection-string endpoint.\n\n**Feature gate**: returns 403 if your plan does not include ASN targeting.\n\nRequires the `proxy:packages:read` scope.","href":"/api/locations/package-asns"},{"title":"List package ZIP codes","openapi":"api/openapi.json GET /v1/proxy/packages/{package_id}/locations/countries/{cc}/zip-codes","href":"/api/locations/package-zip-codes"}]},{"group":"Account","pages":[{"title":"Get account","openapi":"api/openapi.json GET /v1/account","description":"Retrieve your organization's account information: name, status (`active` or `suspended`), current plan identifier, and account creation date.\n\nRequires the `account:read` scope.","href":"/api/account/get"},{"title":"List credit blocks","openapi":"api/openapi.json GET /v1/account/credits","href":"/api/account/credits"},{"title":"Get subscription","openapi":"api/openapi.json GET /v1/account/subscription","href":"/api/account/subscription"}]},{"group":"Analytics","pages":[{"title":"Usage summary","openapi":"api/openapi.json POST /v1/proxy/analytics/summary","href":"/api/analytics/summary"},{"title":"Traffic breakdown","openapi":"api/openapi.json POST /v1/proxy/analytics/traffic","href":"/api/analytics/traffic"},{"title":"Credits burned","openapi":"api/openapi.json POST /v1/proxy/analytics/credits-burned","href":"/api/analytics/credits-burned"}]}]},{"group":"Code Examples","pages":[{"title":"Python","href":"/examples/python"},{"title":"Node.js","href":"/examples/nodejs"},{"title":"Go","href":"/examples/go"},{"title":"curl","href":"/examples/curl"},{"group":"Advanced","pages":[{"title":"Advanced: Multi-Geo Monitoring in Go","href":"/examples/advanced/multi-geo-go"}]}]},{"group":"Troubleshooting","pages":[{"title":"Error Codes \u0026 Fixes","href":"/troubleshooting/error-codes"},{"title":"Connection Debugging","href":"/troubleshooting/connection-debugging"},{"title":"CAPTCHA \u0026 Ban Rates","href":"/troubleshooting/captcha-ban-rates"},{"title":"Proxy Speed \u0026 Latency","href":"/troubleshooting/proxy-speed-latency"},{"title":"IP Quality \u0026 Fraud Score","href":"/troubleshooting/ip-quality-fraud-score"},{"title":"Account Bans \u0026 Protection","href":"/troubleshooting/account-bans-protection"},{"title":"FAQ","href":"/troubleshooting/faq"}]}]},"basePath":"","title":"List package ZIP codes - SOAX","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","Page-1CZdsdAn.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}