{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":null,"catalogType":"api","categories":["lead-generation","enrichment"],"dataPlatform":"companyenrich","dataPlatformLogoUrl":"https://companyenrich.com/favicon-192.png","dataPlatformTranslations":{"ar":"companyenrich","ja":"companyenrich","zh":"companyenrich"},"dataProduct":"reference-data","description":"Search CompanyEnrich Country via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Treg, pass parameters such as query, and retrieve structured data including country code, country name, country reference latitude, country reference longitude, and current page to populate a country selector, browse available countries, and normalize geographic filters.","descriptionTranslations":{"ar":"ابحث عن أسماء البلدان عبر OpenAny REST لملء الخيارات الجغرافية في نماذج بحث الشركات أو أدلة المواقع. استخدم كلمات كاملة بدل البادئات أو احذف الاستعلام لتصفح البلدان بالصفحات، واحتفظ بالرموز والأسماء لتوحيد الاختيارات، مع التعامل مع الإحداثيات كبيانات مرجعية للبلد لا كمواقع دقيقة للشركات.","ja":"OpenAny REST で国名を検索し、企業調査フォームや所在地ディレクトリの地理選択に使えます。接頭辞ではなく名前の単語を使うか、クエリを省略してページ単位で国を閲覧し、国コードと名称を保持してください。座標は国の参照情報であり、企業の正確な所在地ではありません。","zh":"通过 OpenAny REST 搜索国家名称，为公司调研表单或位置目录提供地理选项。使用完整名称单词而非前缀，也可省略查询词按页浏览国家；保留返回的代码和名称以统一选项，并将坐标作为国家参考信息，不视为企业精确位置。"},"effectContentHtml":"","executionMode":"sync","id":"79f28870-8c7b-4833-bc8e-4070598e440b","includedContentHtml":"","inputs":[{"description":"JSON request body for Search countries by name. See individual field descriptions for input requirements.","json_schema":{"additionalProperties":false,"description":"JSON request body for Search countries by name. See individual field descriptions for input requirements.","properties":{"page":{"description":"1-based page number","minimum":1,"type":"integer"},"query":{"description":"country name. WHOLE WORDS ONLY — verified live 2026-08-20: 'United States' and 'Ireland' match, but the prefix 'germ' returns zero items. Omit it to page through every country","example":"United States","minLength":1,"type":"string"}},"required":[],"type":"object"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"object"}],"logoUrl":"https://treg.to/favicon.svg","method":"POST","name":"CompanyEnrich Country Search API","nameTranslations":{"ar":"API للبحث عن البلدان CompanyEnrich","ja":"CompanyEnrich 国名検索 API","zh":"CompanyEnrich 国家名称搜索 API"},"overviewHtml":"\u003ch2\u003eCompanyEnrich Country Search API\u003c/h2\u003e\n\u003cp\u003eSend a JSON body with optional query and page. Country-name matching uses whole words; omitting query allows country browsing, and the response includes items with pagination totals.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired JSON body object; optional query (whole country-name words) and page (1-based).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003etreg · Search countries by name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003ePopulate a country selector\u003c/strong\u003e: Resolve names into country codes for a form.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBrowse available countries\u003c/strong\u003e: Omit query and navigate with page metadata.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eNormalize geographic filters\u003c/strong\u003e: Store the source country code with selected labels.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].code\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCountry code\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCountry name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].latitude\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCountry reference latitude\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].longitude\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCountry reference longitude\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003epage\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCurrent page\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotalItems\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal result count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotalPages\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal page count\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request POST \\\n  https://api.openany.si/v1/agent-apis/treg/call/companyenrich.geo.countries.search \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;{\u0026#34;query\u0026#34;:\u0026#34;United States\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is an abbreviated historical third-party reference. The request below is a calling template; field values and available entries can differ in current responses.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/79f28870-8c7b-4833-bc8e-4070598e440b\"\u003ePublished CompanyEnrich Country Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I search with a prefix such as germ?\u003c/h3\u003e\n\u003cp\u003eUse whole country-name words. The contract documents that a prefix such as germ does not match.\u003c/p\u003e\n\u003ch3\u003eHow do I browse countries without a search term?\u003c/h3\u003e\n\u003cp\u003eSend a JSON body without query and use the 1-based page parameter.\u003c/p\u003e\n\u003ch3\u003eCan one name query return multiple countries or territories?\u003c/h3\u003e\n\u003cp\u003eYes. Inspect each code and name rather than assuming that a text query identifies exactly one record.\u003c/p\u003e\n\u003ch3\u003eCan I look up a known ISO code here?\u003c/h3\u003e\n\u003cp\u003eUse the separate CompanyEnrich Country Lookup API when you already have an ISO alpha-2 code.\u003c/p\u003e\n\u003ch3\u003eDoes a zero coordinate mean an exact location at zero?\u003c/h3\u003e\n\u003cp\u003eDo not treat country reference coordinates as verified physical locations. Evaluate missing or placeholder-like values before mapping.\u003c/p\u003e\n\u003ch3\u003eDoes this return companies in a country?\u003c/h3\u003e\n\u003cp\u003eNo. It returns country records. A company search is a separate operation.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/companyenrich/get-a-country-by-iso-code\"\u003eCompanyEnrich Country Lookup API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/companyenrich/search-states-and-provinces\"\u003eCompanyEnrich State Search API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/companyenrich/search-countries-by-name","providerId":"treg","publicPath":"/v1/agent-apis/treg/call/companyenrich.geo.countries.search","requestContentType":"application/json","revision":4,"samples":[{"http_status":200,"name":"Third-party reference · Testnet verified: business + billing","request":{"body":{"query":"United States"},"headers":{},"path":{},"query":{}},"response_body":{"items":[{"code":"UM","latitude":0,"longitude":0,"name":"United States Minor Outlying Islands"},{"code":"US","latitude":38,"longitude":-97,"name":"United States"}],"page":1,"totalItems":2,"totalPages":1}}],"seoDescription":"Search CompanyEnrich Country via REST or MCP powered by Treg. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:37:01.071Z","usageInstructionsHtml":""}}