{
  "x402Version": 2,
  "id": 71377,
  "slug": "country-profile",
  "resource": "https://saylorinnovations.com/api/data/country?country={country}",
  "description": "Country code to World Bank name, region, capital, income group and lending classification",
  "type": "http",
  "serviceName": "Saylor Innovations  Country Prof",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "required": [
      "service",
      "subject",
      "retrievedAt",
      "source",
      "report"
    ],
    "properties": {
      "service": {
        "type": "string",
        "description": "Service name"
      },
      "subject": {
        "type": "string",
        "description": "What this response is for"
      },
      "retrievedAt": {
        "type": "string",
        "format": "date-time",
        "description": "Time the data was retrieved from the source (UTC)"
      },
      "source": {
        "type": "object",
        "required": [
          "name",
          "url"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Name"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Canonical URL"
          }
        },
        "description": "Data source the values come from"
      },
      "report": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Code assigned by the issuing system"
          },
          "iso3": {
            "type": "string",
            "description": "ISO 3-letter country code"
          },
          "name": {
            "type": "string",
            "description": "Name"
          },
          "region": {
            "type": [
              "string",
              "null"
            ],
            "description": "Region"
          },
          "capital": {
            "type": [
              "string",
              "null"
            ]
          },
          "incomeGroup": {
            "type": [
              "string",
              "null"
            ],
            "description": "Income group"
          },
          "lendingType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lending type"
          },
          "attribution": {
            "type": "string",
            "description": "Attribution required by the source"
          },
          "limitations": {
            "type": "string",
            "description": "Known limits of this result"
          },
          "licenseUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "License URL"
          }
        },
        "required": [
          "code",
          "iso3",
          "name",
          "attribution",
          "limitations"
        ],
        "description": "Structured report for the subject, with the fields described in the example"
      },
      "sample": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "True when this is a fixed sample response"
      },
      "fixedSubject": {
        "type": [
          "string",
          "null"
        ],
        "description": "True when the sample is for a fixed subject"
      },
      "exampleTruncated": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "True when the example is shortened"
      }
    }
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "country": "US"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "sample": true,
            "fixedSubject": "US",
            "exampleTruncated": true,
            "service": "country",
            "subject": "US",
            "retrievedAt": "2026-09-18T14:43:08.007Z",
            "source": {
              "name": "World Bank",
              "url": "https://api.worldbank.org/v2/country/US?format=json"
            },
            "report": {
              "code": "US",
              "iso3": "USA",
              "name": "United States",
              "region": "North America",
              "capital": "Washington D.C.",
              "incomeGroup": "High income",
              "lendingType": "Not classified",
              "attribution": "World Bank: World Development Indicators and country metadata. CC BY 4.0. Saylor normalizes the source data; no World Bank endorsement is implied.",
              "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
              "limitations": "World Bank country classification metadata. Names and classifications reflect this source and are not a statement about sovereignty or a real-time demographic estimate."
            }
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "country": {
                    "type": "string",
                    "description": "Two-letter country code supported by World Bank, for example US or GB. Aggregates are excluded."
                  }
                },
                "required": [
                  "country"
                ]
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "required": [
                  "service",
                  "subject",
                  "retrievedAt",
                  "source",
                  "report"
                ],
                "properties": {
                  "service": {
                    "type": "string",
                    "description": "Service name"
                  },
                  "subject": {
                    "type": "string",
                    "description": "What this response is for"
                  },
                  "retrievedAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "Time the data was retrieved from the source (UTC)"
                  },
                  "source": {
                    "type": "object",
                    "required": [
                      "name",
                      "url"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Name"
                      },
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "description": "Canonical URL"
                      }
                    },
                    "description": "Data source the values come from"
                  },
                  "report": {
                    "type": "object",
                    "properties": {
                      "code": {
                        "type": "string",
                        "description": "Code assigned by the issuing system"
                      },
                      "iso3": {
                        "type": "string",
                        "description": "ISO 3-letter country code"
                      },
                      "name": {
                        "type": "string",
                        "description": "Name"
                      },
                      "region": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Region"
                      },
                      "capital": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "incomeGroup": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Income group"
                      },
                      "lendingType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Lending type"
                      },
                      "attribution": {
                        "type": "string",
                        "description": "Attribution required by the source"
                      },
                      "limitations": {
                        "type": "string",
                        "description": "Known limits of this result"
                      },
                      "licenseUrl": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "License URL"
                      }
                    },
                    "required": [
                      "code",
                      "iso3",
                      "name",
                      "attribution",
                      "limitations"
                    ],
                    "description": "Structured report for the subject, with the fields described in the example"
                  },
                  "sample": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "True when this is a fixed sample response"
                  },
                  "fixedSubject": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "True when the sample is for a fixed subject"
                  },
                  "exampleTruncated": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "True when the example is shortened"
                  }
                }
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "country",
    "geography",
    "enrichment"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:02.007Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations  Country Prof",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "description": "Two-letter country code supported by World Bank, for example US or GB. Aggregates are excluded."
        }
      },
      "required": [
        "country"
      ]
    },
    "exampleResponse": {
      "sample": true,
      "fixedSubject": "US",
      "exampleTruncated": true,
      "service": "country",
      "subject": "US",
      "retrievedAt": "2026-09-18T14:43:08.007Z",
      "source": {
        "name": "World Bank",
        "url": "https://api.worldbank.org/v2/country/US?format=json"
      },
      "report": {
        "code": "US",
        "iso3": "USA",
        "name": "United States",
        "region": "North America",
        "capital": "Washington D.C.",
        "incomeGroup": "High income",
        "lendingType": "Not classified",
        "attribution": "World Bank: World Development Indicators and country metadata. CC BY 4.0. Saylor normalizes the source data; no World Bank endorsement is implied.",
        "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
        "limitations": "World Bank country classification metadata. Names and classifications reflect this source and are not a statement about sovereignty or a real-time demographic estimate."
      }
    },
    "parameterLocation": "query",
    "freeSample": "https://saylorinnovations.com/api/services/sample/country",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "country": "US"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sample": true,
              "fixedSubject": "US",
              "exampleTruncated": true,
              "service": "country",
              "subject": "US",
              "retrievedAt": "2026-09-18T14:43:08.007Z",
              "source": {
                "name": "World Bank",
                "url": "https://api.worldbank.org/v2/country/US?format=json"
              },
              "report": {
                "code": "US",
                "iso3": "USA",
                "name": "United States",
                "region": "North America",
                "capital": "Washington D.C.",
                "incomeGroup": "High income",
                "lendingType": "Not classified",
                "attribution": "World Bank: World Development Indicators and country metadata. CC BY 4.0. Saylor normalizes the source data; no World Bank endorsement is implied.",
                "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
                "limitations": "World Bank country classification metadata. Names and classifications reflect this source and are not a statement about sovereignty or a real-time demographic estimate."
              }
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "country": {
                      "type": "string",
                      "description": "Two-letter country code supported by World Bank, for example US or GB. Aggregates are excluded."
                    }
                  },
                  "required": [
                    "country"
                  ]
                }
              },
              "required": [
                "type",
                "method",
                "queryParams"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "required": [
                    "service",
                    "subject",
                    "retrievedAt",
                    "source",
                    "report"
                  ],
                  "properties": {
                    "service": {
                      "type": "string",
                      "description": "Service name"
                    },
                    "subject": {
                      "type": "string",
                      "description": "What this response is for"
                    },
                    "retrievedAt": {
                      "type": "string",
                      "format": "date-time",
                      "description": "Time the data was retrieved from the source (UTC)"
                    },
                    "source": {
                      "type": "object",
                      "required": [
                        "name",
                        "url"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Name"
                        },
                        "url": {
                          "type": "string",
                          "format": "uri",
                          "description": "Canonical URL"
                        }
                      },
                      "description": "Data source the values come from"
                    },
                    "report": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Code assigned by the issuing system"
                        },
                        "iso3": {
                          "type": "string",
                          "description": "ISO 3-letter country code"
                        },
                        "name": {
                          "type": "string",
                          "description": "Name"
                        },
                        "region": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Region"
                        },
                        "capital": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "incomeGroup": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Income group"
                        },
                        "lendingType": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Lending type"
                        },
                        "attribution": {
                          "type": "string",
                          "description": "Attribution required by the source"
                        },
                        "limitations": {
                          "type": "string",
                          "description": "Known limits of this result"
                        },
                        "licenseUrl": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "License URL"
                        }
                      },
                      "required": [
                        "code",
                        "iso3",
                        "name",
                        "attribution",
                        "limitations"
                      ],
                      "description": "Structured report for the subject, with the fields described in the example"
                    },
                    "sample": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when this is a fixed sample response"
                    },
                    "fixedSubject": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "True when the sample is for a fixed subject"
                    },
                    "exampleTruncated": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "True when the example is shortened"
                    }
                  }
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/data/country?country=US",
        "expectedStatus": 402
      }
    ],
    "dataFreshness": "Fetched on request, with up to five minutes of server caching.",
    "cacheTtlSeconds": 0,
    "capabilities": [
      "Resolve a two-letter country code into its World Bank name, region, capital, income group and lending classification for data enrichment."
    ],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "service": "string",
    "subject": "string",
    "retrievedAt": "2026-01-01T00:00:00Z",
    "source": {
      "name": "string",
      "url": "https://example.com"
    },
    "report": {
      "code": "string",
      "iso3": "string",
      "name": "string",
      "region": "string",
      "capital": "string",
      "incomeGroup": "string",
      "lendingType": "string",
      "attribution": "string",
      "limitations": "string",
      "licenseUrl": "string"
    },
    "sample": true,
    "fixedSubject": "string",
    "exampleTruncated": true
  }
}