{
  "x402Version": 2,
  "id": 72548,
  "slug": "saylorinnovations-api-economy-worldbank",
  "resource": "https://saylorinnovations.com/api/economy/worldbank",
  "description": "World Bank Open Data for any indicator code and up to ten countries over recent years, with latest value, period change and the indicator definition.",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "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",
    "properties": {
      "indicator": {
        "type": "object",
        "description": "Indicator metadata from the World Bank",
        "properties": {
          "id": {
            "description": "Indicator code",
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "description": "Indicator name",
            "type": [
              "string",
              "null"
            ]
          },
          "definition": {
            "description": "Short definition of what the indicator measures",
            "type": [
              "string",
              "null"
            ]
          },
          "source_organization": {
            "description": "Organisations the World Bank compiled the indicator from",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "years_requested": {
        "type": "number",
        "description": "Number of recent years requested"
      },
      "countries": {
        "type": "number",
        "description": "Number of countries with data"
      },
      "series": {
        "type": "array",
        "description": "One entry per country",
        "items": {
          "type": "object",
          "properties": {
            "country": {
              "description": "Country name",
              "type": [
                "string",
                "null"
              ]
            },
            "iso3": {
              "description": "ISO 3166 alpha-3 country code",
              "type": [
                "string",
                "null"
              ]
            },
            "latest": {
              "description": "Most recent year with a value",
              "type": [
                "object",
                "null"
              ]
            },
            "change_percent_over_period": {
              "description": "Percent change from the first to the latest value returned",
              "type": [
                "number",
                "null"
              ]
            },
            "observations": {
              "description": "Yearly values in ascending order",
              "type": [
                "array",
                "null"
              ]
            }
          }
        }
      },
      "last_updated": {
        "type": [
          "string",
          "null"
        ],
        "description": "Date the World Bank last updated this data"
      },
      "source": {
        "type": "string",
        "description": "Where the data or formula comes from"
      },
      "note": {
        "description": "Plain-language caveat about how to read and use the result"
      }
    },
    "required": [
      "indicator",
      "series"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "countries": "US,CN,DE",
            "indicator": "NY.GDP.MKTP.CD",
            "years": "10"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "indicator": {
              "id": "NY.GDP.MKTP.CD",
              "name": "GDP (current US$)",
              "definition": "Gross domestic product is the total income earned through the production of goods and services in an economic territory during an accounting period. It can be measured in three different ways: using …",
              "source_organization": "Country official statistics, National Statistical Organizations and/or Central Banks; National Accounts data files, Organisation for Economic Co-operation and Development (OECD); Staff estimates, Wor…"
            },
            "years_requested": 10,
            "countries": 3,
            "series": [
              {
                "country": "China",
                "iso3": "CHN",
                "latest": {
                  "year": 2025,
                  "value": 19498039388042.6
                },
                "change_percent_over_period": 70.199,
                "observations": [
                  {
                    "year": 2016,
                    "value": 11456024084962
                  },
                  {
                    "year": 2017,
                    "value": 12537559062282.9
                  },
                  {
                    "year": 2018,
                    "value": 14147765772963.8
                  }
                ]
              },
              {
                "country": "Germany",
                "iso3": "DEU",
                "latest": {
                  "year": 2025,
                  "value": 5050922925047.05
                },
                "change_percent_over_period": 42.811,
                "observations": [
                  {
                    "year": 2016,
                    "value": 3536787895179
                  },
                  {
                    "year": 2017,
                    "value": 3765351626105.89
                  },
                  {
                    "year": 2018,
                    "value": 4055433215301.96
                  }
                ]
              },
              {
                "country": "United States",
                "iso3": "USA",
                "latest": {
                  "year": 2025,
                  "value": 30769700000000
                },
                "change_percent_over_period": 63.626,
                "observations": [
                  {
                    "year": 2016,
                    "value": 18804913000000
                  },
                  {
                    "year": 2017,
                    "value": 19612102000000
                  },
                  {
                    "year": 2018,
                    "value": 20656516000000
                  }
                ]
              }
            ],
            "last_updated": "2026-10-08",
            "source": "World Bank Open Data (CC BY 4.0)"
          }
        }
      },
      "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": {
                  "countries": {
                    "type": "string",
                    "description": "optional 1-10 ISO codes, default US"
                  },
                  "indicator": {
                    "type": "string",
                    "description": "World Bank indicator code, e.g. NY.GDP.MKTP.CD (GDP), SP.POP.TOTL (population), FP.CPI.TOTL.ZG (inflation)"
                  },
                  "years": {
                    "type": "string",
                    "description": "optional most recent years 1-60, default 10"
                  }
                },
                "required": [
                  "indicator"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "indicator": {
                    "type": "object",
                    "description": "Indicator metadata from the World Bank",
                    "properties": {
                      "id": {
                        "description": "Indicator code",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "description": "Indicator name",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "definition": {
                        "description": "Short definition of what the indicator measures",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "source_organization": {
                        "description": "Organisations the World Bank compiled the indicator from",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "years_requested": {
                    "type": "number",
                    "description": "Number of recent years requested"
                  },
                  "countries": {
                    "type": "number",
                    "description": "Number of countries with data"
                  },
                  "series": {
                    "type": "array",
                    "description": "One entry per country",
                    "items": {
                      "type": "object",
                      "properties": {
                        "country": {
                          "description": "Country name",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "iso3": {
                          "description": "ISO 3166 alpha-3 country code",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "latest": {
                          "description": "Most recent year with a value",
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "change_percent_over_period": {
                          "description": "Percent change from the first to the latest value returned",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "observations": {
                          "description": "Yearly values in ascending order",
                          "type": [
                            "array",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "last_updated": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Date the World Bank last updated this data"
                  },
                  "source": {
                    "type": "string",
                    "description": "Where the data or formula comes from"
                  },
                  "note": {
                    "description": "Plain-language caveat about how to read and use the result"
                  }
                },
                "required": [
                  "indicator",
                  "series"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "world bank gdp by country",
    "country population history",
    "inflation by country",
    "compare country indicators",
    "world bank indicator api"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.959Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "countries": {
          "type": "string",
          "description": "optional 1-10 ISO codes, default US"
        },
        "indicator": {
          "type": "string",
          "description": "World Bank indicator code, e.g. NY.GDP.MKTP.CD (GDP), SP.POP.TOTL (population), FP.CPI.TOTL.ZG (inflation)"
        },
        "years": {
          "type": "string",
          "description": "optional most recent years 1-60, default 10"
        }
      },
      "required": [
        "indicator"
      ]
    },
    "exampleResponse": {
      "indicator": {
        "id": "NY.GDP.MKTP.CD",
        "name": "GDP (current US$)",
        "definition": "Gross domestic product is the total income earned through the production of goods and services in an economic territory during an accounting period. It can be measured in three different ways: using …",
        "source_organization": "Country official statistics, National Statistical Organizations and/or Central Banks; National Accounts data files, Organisation for Economic Co-operation and Development (OECD); Staff estimates, Wor…"
      },
      "years_requested": 10,
      "countries": 3,
      "series": [
        {
          "country": "China",
          "iso3": "CHN",
          "latest": {
            "year": 2025,
            "value": 19498039388042.6
          },
          "change_percent_over_period": 70.199,
          "observations": [
            {
              "year": 2016,
              "value": 11456024084962
            },
            {
              "year": 2017,
              "value": 12537559062282.9
            },
            {
              "year": 2018,
              "value": 14147765772963.8
            }
          ]
        },
        {
          "country": "Germany",
          "iso3": "DEU",
          "latest": {
            "year": 2025,
            "value": 5050922925047.05
          },
          "change_percent_over_period": 42.811,
          "observations": [
            {
              "year": 2016,
              "value": 3536787895179
            },
            {
              "year": 2017,
              "value": 3765351626105.89
            },
            {
              "year": 2018,
              "value": 4055433215301.96
            }
          ]
        },
        {
          "country": "United States",
          "iso3": "USA",
          "latest": {
            "year": 2025,
            "value": 30769700000000
          },
          "change_percent_over_period": 63.626,
          "observations": [
            {
              "year": 2016,
              "value": 18804913000000
            },
            {
              "year": 2017,
              "value": 19612102000000
            },
            {
              "year": 2018,
              "value": 20656516000000
            }
          ]
        }
      ],
      "last_updated": "2026-10-08",
      "source": "World Bank Open Data (CC BY 4.0)"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "countries": "US,CN,DE",
              "indicator": "NY.GDP.MKTP.CD",
              "years": "10"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "indicator": {
                "id": "NY.GDP.MKTP.CD",
                "name": "GDP (current US$)",
                "definition": "Gross domestic product is the total income earned through the production of goods and services in an economic territory during an accounting period. It can be measured in three different ways: using …",
                "source_organization": "Country official statistics, National Statistical Organizations and/or Central Banks; National Accounts data files, Organisation for Economic Co-operation and Development (OECD); Staff estimates, Wor…"
              },
              "years_requested": 10,
              "countries": 3,
              "series": [
                {
                  "country": "China",
                  "iso3": "CHN",
                  "latest": {
                    "year": 2025,
                    "value": 19498039388042.6
                  },
                  "change_percent_over_period": 70.199,
                  "observations": [
                    {
                      "year": 2016,
                      "value": 11456024084962
                    },
                    {
                      "year": 2017,
                      "value": 12537559062282.9
                    },
                    {
                      "year": 2018,
                      "value": 14147765772963.8
                    }
                  ]
                },
                {
                  "country": "Germany",
                  "iso3": "DEU",
                  "latest": {
                    "year": 2025,
                    "value": 5050922925047.05
                  },
                  "change_percent_over_period": 42.811,
                  "observations": [
                    {
                      "year": 2016,
                      "value": 3536787895179
                    },
                    {
                      "year": 2017,
                      "value": 3765351626105.89
                    },
                    {
                      "year": 2018,
                      "value": 4055433215301.96
                    }
                  ]
                },
                {
                  "country": "United States",
                  "iso3": "USA",
                  "latest": {
                    "year": 2025,
                    "value": 30769700000000
                  },
                  "change_percent_over_period": 63.626,
                  "observations": [
                    {
                      "year": 2016,
                      "value": 18804913000000
                    },
                    {
                      "year": 2017,
                      "value": 19612102000000
                    },
                    {
                      "year": 2018,
                      "value": 20656516000000
                    }
                  ]
                }
              ],
              "last_updated": "2026-10-08",
              "source": "World Bank Open Data (CC BY 4.0)"
            }
          }
        },
        "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": {
                    "countries": {
                      "type": "string",
                      "description": "optional 1-10 ISO codes, default US"
                    },
                    "indicator": {
                      "type": "string",
                      "description": "World Bank indicator code, e.g. NY.GDP.MKTP.CD (GDP), SP.POP.TOTL (population), FP.CPI.TOTL.ZG (inflation)"
                    },
                    "years": {
                      "type": "string",
                      "description": "optional most recent years 1-60, default 10"
                    }
                  },
                  "required": [
                    "indicator"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "indicator": {
                      "type": "object",
                      "description": "Indicator metadata from the World Bank",
                      "properties": {
                        "id": {
                          "description": "Indicator code",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "name": {
                          "description": "Indicator name",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "definition": {
                          "description": "Short definition of what the indicator measures",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "source_organization": {
                          "description": "Organisations the World Bank compiled the indicator from",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "years_requested": {
                      "type": "number",
                      "description": "Number of recent years requested"
                    },
                    "countries": {
                      "type": "number",
                      "description": "Number of countries with data"
                    },
                    "series": {
                      "type": "array",
                      "description": "One entry per country",
                      "items": {
                        "type": "object",
                        "properties": {
                          "country": {
                            "description": "Country name",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "iso3": {
                            "description": "ISO 3166 alpha-3 country code",
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "latest": {
                            "description": "Most recent year with a value",
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "change_percent_over_period": {
                            "description": "Percent change from the first to the latest value returned",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "observations": {
                            "description": "Yearly values in ascending order",
                            "type": [
                              "array",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "last_updated": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Date the World Bank last updated this data"
                    },
                    "source": {
                      "type": "string",
                      "description": "Where the data or formula comes from"
                    },
                    "note": {
                      "description": "Plain-language caveat about how to read and use the result"
                    }
                  },
                  "required": [
                    "indicator",
                    "series"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/economy/worldbank?indicator=NY.GDP.MKTP.CD&countries=US,CN,DE&years=10",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "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": {
    "indicator": {
      "id": "string",
      "name": "string",
      "definition": "string",
      "source_organization": "string"
    },
    "years_requested": 0,
    "countries": 0,
    "series": [
      {
        "country": "string",
        "iso3": "string",
        "latest": {},
        "change_percent_over_period": 0,
        "observations": [
          "value"
        ]
      }
    ],
    "last_updated": "string",
    "source": "string",
    "note": null
  }
}