# Coockies.ai Country Search

> Coockies.ai Country Search is a paid API for AI agents from coockies-ai.vercel.app, paid per call via x402, $0.111419/call, status unknown (last checked 2026-10-12).

Searches for country information by name or query string, returning matched country data

## Facts

- Endpoint: POST https://coockies-ai.vercel.app/api/country-search?utm_source=zero.xyz
- Price: $0.111419/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coockies-ai-country-search-a1b5d49c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OAliTRM0rbqmvFQglCkp6

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability coockies-ai-country-search-a1b5d49c -d '<json body>'
```

Example prompt: Can you search for country information for 'Germany' and tell me its capital, region, and country code?

## When to prefer this

Use this endpoint when you need to resolve a country name or partial string into structured country metadata (code, capital, region) and you are already operating within the Coockies.ai x402 pay-per-call ecosystem on Base chain. Prefer alternatives if you need bulk country listings or detailed geopolitical data beyond basic metadata.

## Known failure modes

- Empty or missing query returns generic or empty result
- Country name misspelling may return no match or wrong country
- Ambiguous partial queries may return multiple or unexpected matches
- API payment failure via x402 if insufficient USDC balance
- Service unavailability returns 402 or 5xx error

## How this service works

194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.

## Output

Returns a result object containing matched country data such as country name, code, capital, region, and other geographic metadata for the searched query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coockies-ai-country-search-a1b5d49c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coockies-ai.vercel.app](https://www.zero.xyz/host/coockies-ai.vercel.app/llms.txt)
