{
  "x402Version": 2,
  "id": 71378,
  "slug": "country-economic-indicators",
  "resource": "https://saylorinnovations.com/api/data/economy?country={country}",
  "description": "Recent annual population, GDP and inflation observations for a country, with units and sources",
  "type": "http",
  "serviceName": "Saylor Innovations  Country Econ",
  "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": {
          "countryCode": {
            "type": "string",
            "description": "ISO country code"
          },
          "countryName": {
            "type": "string",
            "description": "Country name"
          },
          "datasetUpdated": {
            "type": [
              "string",
              "null"
            ],
            "description": "Dataset updated"
          },
          "indicators": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Identifier of the record"
                },
                "name": {
                  "type": "string",
                  "description": "Name"
                },
                "unit": {
                  "type": "string",
                  "description": "Unit of measure"
                },
                "source": {
                  "type": "string",
                  "description": "Data source the values come from"
                },
                "observations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "year": {
                        "type": "string"
                      },
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    }
                  },
                  "description": "Observations in time order"
                },
                "sourceUrl": {
                  "description": "URL of the original source"
                },
                "missing": {}
              }
            },
            "description": "Indicator values"
          },
          "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": [
          "countryCode",
          "countryName",
          "indicators",
          "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": "economy",
            "subject": "US",
            "retrievedAt": "2026-09-18T14:43:08.007Z",
            "source": {
              "name": "World Bank World Development Indicators",
              "url": "https://api.worldbank.org/v2/country/US/indicator/SP.POP.TOTL;NY.GDP.MKTP.CD;FP.CPI.TOTL.ZG?source=2&format=json&mrv=5&per_page=100"
            },
            "report": {
              "countryCode": "US",
              "countryName": "United States",
              "datasetUpdated": "2026-07-13",
              "indicators": [
                {
                  "id": "SP.POP.TOTL",
                  "name": "Population, total",
                  "unit": "people",
                  "source": "UN Population Division, national statistical offices, Eurostat and UN Statistics Division via World Bank",
                  "sourceUrl": "https://data.worldbank.org/indicator/SP.POP.TOTL",
                  "observations": [
                    {
                      "year": "2025",
                      "value": 341784857
                    }
                  ],
                  "missing": false
                }
              ],
              "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": "Latest five periods returned by World Bank for each series. Values can be missing, revised or lag the current year. Null means unavailable, not zero. GDP uses current USD, not inflation-adjusted dollars."
            }
          }
        }
      },
      "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": {
                      "countryCode": {
                        "type": "string",
                        "description": "ISO country code"
                      },
                      "countryName": {
                        "type": "string",
                        "description": "Country name"
                      },
                      "datasetUpdated": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "description": "Dataset updated"
                      },
                      "indicators": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Identifier of the record"
                            },
                            "name": {
                              "type": "string",
                              "description": "Name"
                            },
                            "unit": {
                              "type": "string",
                              "description": "Unit of measure"
                            },
                            "source": {
                              "type": "string",
                              "description": "Data source the values come from"
                            },
                            "observations": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "year": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  }
                                }
                              },
                              "description": "Observations in time order"
                            },
                            "sourceUrl": {
                              "description": "URL of the original source"
                            },
                            "missing": {}
                          }
                        },
                        "description": "Indicator values"
                      },
                      "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": [
                      "countryCode",
                      "countryName",
                      "indicators",
                      "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": [
    "economy",
    "gdp",
    "population",
    "inflation"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:02.007Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations  Country Econ",
    "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": "economy",
      "subject": "US",
      "retrievedAt": "2026-09-18T14:43:08.007Z",
      "source": {
        "name": "World Bank World Development Indicators",
        "url": "https://api.worldbank.org/v2/country/US/indicator/SP.POP.TOTL;NY.GDP.MKTP.CD;FP.CPI.TOTL.ZG?source=2&format=json&mrv=5&per_page=100"
      },
      "report": {
        "countryCode": "US",
        "countryName": "United States",
        "datasetUpdated": "2026-07-13",
        "indicators": [
          {
            "id": "SP.POP.TOTL",
            "name": "Population, total",
            "unit": "people",
            "source": "UN Population Division, national statistical offices, Eurostat and UN Statistics Division via World Bank",
            "sourceUrl": "https://data.worldbank.org/indicator/SP.POP.TOTL",
            "observations": [
              {
                "year": "2025",
                "value": 341784857
              }
            ],
            "missing": false
          }
        ],
        "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": "Latest five periods returned by World Bank for each series. Values can be missing, revised or lag the current year. Null means unavailable, not zero. GDP uses current USD, not inflation-adjusted dollars."
      }
    },
    "parameterLocation": "query",
    "freeSample": "https://saylorinnovations.com/api/services/sample/economy",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "country": "US"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "sample": true,
              "fixedSubject": "US",
              "exampleTruncated": true,
              "service": "economy",
              "subject": "US",
              "retrievedAt": "2026-09-18T14:43:08.007Z",
              "source": {
                "name": "World Bank World Development Indicators",
                "url": "https://api.worldbank.org/v2/country/US/indicator/SP.POP.TOTL;NY.GDP.MKTP.CD;FP.CPI.TOTL.ZG?source=2&format=json&mrv=5&per_page=100"
              },
              "report": {
                "countryCode": "US",
                "countryName": "United States",
                "datasetUpdated": "2026-07-13",
                "indicators": [
                  {
                    "id": "SP.POP.TOTL",
                    "name": "Population, total",
                    "unit": "people",
                    "source": "UN Population Division, national statistical offices, Eurostat and UN Statistics Division via World Bank",
                    "sourceUrl": "https://data.worldbank.org/indicator/SP.POP.TOTL",
                    "observations": [
                      {
                        "year": "2025",
                        "value": 341784857
                      }
                    ],
                    "missing": false
                  }
                ],
                "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": "Latest five periods returned by World Bank for each series. Values can be missing, revised or lag the current year. Null means unavailable, not zero. GDP uses current USD, not inflation-adjusted dollars."
              }
            }
          }
        },
        "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": {
                        "countryCode": {
                          "type": "string",
                          "description": "ISO country code"
                        },
                        "countryName": {
                          "type": "string",
                          "description": "Country name"
                        },
                        "datasetUpdated": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Dataset updated"
                        },
                        "indicators": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Identifier of the record"
                              },
                              "name": {
                                "type": "string",
                                "description": "Name"
                              },
                              "unit": {
                                "type": "string",
                                "description": "Unit of measure"
                              },
                              "source": {
                                "type": "string",
                                "description": "Data source the values come from"
                              },
                              "observations": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "year": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    }
                                  }
                                },
                                "description": "Observations in time order"
                              },
                              "sourceUrl": {
                                "description": "URL of the original source"
                              },
                              "missing": {}
                            }
                          },
                          "description": "Indicator values"
                        },
                        "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": [
                        "countryCode",
                        "countryName",
                        "indicators",
                        "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/economy?country=US",
        "expectedStatus": 402
      }
    ],
    "dataFreshness": "Fetched on request, with up to five minutes of server caching.",
    "cacheTtlSeconds": 0,
    "capabilities": [
      "Get up to five recent annual observations for population, GDP in current US dollars and consumer-price inflation. Includes years, units, source links and missing values."
    ],
    "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": {
      "countryCode": "string",
      "countryName": "string",
      "datasetUpdated": "string",
      "indicators": [
        {
          "id": "string",
          "name": "string",
          "unit": "string",
          "source": "string",
          "observations": [
            {
              "year": "string",
              "value": 0
            }
          ],
          "sourceUrl": null,
          "missing": null
        }
      ],
      "attribution": "string",
      "limitations": "string",
      "licenseUrl": "string"
    },
    "sample": true,
    "fixedSubject": "string",
    "exampleTruncated": true
  }
}