ask_anything
Answer a data question
Routes a plain-language data question to the best matching endpoint of this service (official statistics, central bank rates, FX, energy, weather, holidays, research metadata) or catalog entry (World Bank indicators, Eurostat datasets, Statistics Canada and Destatis GENESIS tables), runs it and returns compact JSON with source, license and data_freshness. Also returns confidence and, when unsure, ready alternative calls. Examples: "convert 250 usd to eur", "weather berlin tomorrow", "germany inflation", "hospital beds germany eurostat". When to use: the first call for any data question when you do not know the endpoint id. Use call_api instead when you already have an id from an earlier answer, get_series for a long numeric history. If nothing matches it returns status "unfulfilled"; search_apis lists endpoints by keyword. Read-only, no API key or signup. Free quota: 1000 calls/day per IP, shared across tools.
输入参数query必填
search_apis
Search the endpoint catalog
Searches the catalog of verified endpoints (official statistics, interest rates, FX, energy, weather, geo, holidays, research, developer tools) by keyword and returns the best matches (10 by default) with id, short description, parameter names and an example query. When to use: to browse what exists for a topic, or when ask_anything returned "unfulfilled" or a low-confidence match. Pass the chosen id to call_api. Does not fetch any data and does not count against the quota.
输入参数limitsearchcategory
Runs one endpoint by id with parameters and returns its data as compact JSON (source, license, data_freshness included). Bundles answer whole tasks in one call: bundle-location-brief (weather, time, holidays for a place), bundle-country-brief, bundle-eurozone-brief, bundle-energy-brief-de, bundle-npm-package-brief. When to use: you know the endpoint id (from search_apis, from alternatives or catalog_choices of ask_anything, or from the docs) and want to set parameters exactly, e.g. another country or date. params are the endpoint's own query parameters as listed by search_apis (example_query). Unknown ids or bad params return an error message naming the problem. Read-only, no API key or signup. Free quota: 1000 calls/day per IP, shared across tools.
输入参数fullapiId必填fieldsparamsverbose
get_series
Get a full time series
Returns complete numeric histories as compact CSV (t,value) from this service's archive of openly licensed series, e.g. ECB FX rates since 1999 (fx.EUR.USD), World Bank indicators for all countries since 1960 (wb.FP.CPI.TOTL.ZG.DE), ECB rates and 10y yields (ecb.rate.deposit, ecb.yield10y.IT), Eurostat, Statistics Canada, ONS and FAO series, German power prices (smard.price.day), sunspots since 1749 (noaa.sunspot-number). Pass q to search series ids, or id to fetch one (max 1,000 points, most recent kept). When to use: for many periods of one number (e.g. yearly inflation since 2000, monthly FX since 2010), with from/to and resample. For the latest value with context use ask_anything; get_history only holds values this service recorded from live endpoints. Read-only, no API key or signup. Free quota: 1000 calls/day per IP, shared across tools.
输入参数qidtoaggfromresample
get_history
Get recorded endpoint history
Returns change points this service recorded over time for an endpoint (e.g. exchange rates, weather) as compact CSV. Use the same params as the live call. When to use: to see how a live value (e.g. an exchange rate or the weather at a place) changed since this service started recording it. For long official histories use get_series instead. Returns an error if nothing was recorded for these params. Read-only, no API key or signup. Free quota: 1000 calls/day per IP, shared across tools.
输入参数fromapiId必填limitfieldsparams