# Saylor Innovations — Country Profile

> Saylor Innovations — Country Profile is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Resolves a two-letter ISO country code into World Bank metadata including name, region, capital, income group, and lending classification.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/data/country?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-country-profile-bbb4f24d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A3IyiaDTMjfgKyyEVYn3V

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 saylor-innovations-country-profile-bbb4f24d
```

Example prompt: What's the World Bank region, capital, and income group for Brazil — can you look it up using its country code BR?

## When to prefer this

Use this endpoint when you need to enrich a two-letter ISO country code with structured World Bank metadata — especially income group and lending classification — rather than simple name resolution. It is ideal for development economics pipelines, data validation workflows, or any agent task requiring authoritative geopolitical classifications sourced from the World Bank.

## Known failure modes

- Invalid or unsupported country code returns an error or empty report
- Aggregate codes (e.g. regional aggregates like '1W') are excluded and will fail
- World Bank API downtime may cause retrieval failures
- Codes for disputed or unrecognized territories may return null fields for region/capital/income group

## How this service works

Resolve a two-letter country code into its World Bank name, region, capital, income group and lending classification for data enrichment.

## Output

A JSON object containing the country's ISO alpha-2 and alpha-3 codes, World Bank name, region, capital city, income group, lending type, a timestamp of retrieval, source attribution, and any data limitations noted by the provider.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "country": {
       "type": "string",
       "description": "Two-letter country code supported by World Bank, for example US or GB. Aggregates are excluded."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "service",
      "subject",
      "retrievedAt",
      "source",
      "report"
     ],
     "properties": {
      "report": {
       "type": "object",
       "required": [
        "code",
        "iso3",
        "name",
        "attribution",
        "limitations"
       ],
       "properties": {
        "code": {
         "type": "string"
        },
        "iso3": {
         "type": "string"
        },
        "name": {
         "type": "string"
        },
        "region": {
         "type": [
          "string",
          "null"
         ]
        },
        "capital": {
         "type": [
          "string",
          "null"
         ]
        },
        "attribution": {
         "type": "string"
        },
        "incomeGroup": {
         "type": [
          "string",
          "null"
         ]
        },
        "lendingType": {
         "type": [
          "string",
          "null"
         ]
        },
        "limitations": {
         "type": "string"
        }
       }
      },
      "source": {
       "type": "object",
       "required": [
        "name",
        "url"
       ],
       "properties": {
        "url": {
         "type": "string",
         "format": "uri"
        },
        "name": {
         "type": "string"
        }
       }
      },
      "service": {
       "type": "string"
      },
      "subject": {
       "type": "string"
      },
      "retrievedAt": {
       "type": "string",
       "format": "date-time"
      }
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-country-profile-bbb4f24d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
