Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

FRED Get Tags Series

Documentazione API
https://api.sandbase.ai/v1/api/fred/tags-series

Get Tags Series from FRED. Returns the official FRED API response unchanged.

Prezzo
$0.00001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 8 opzionali

Playground

Input
A semicolon delimited list of tag names that series match all of. String, required, no default value. Example value: 'slovenia;food'. Filter results to series having both tags 'slovenia' and 'food'. See the related request fred/tags .
A semicolon delimited list of tag names that series match none of. String, optional, no default value. Example value: 'alchohol;quarterly'. Filter results to series having neither tag 'alchohol' nor tag 'quarterly'.
Response format. Only json is supported.
11000
The maximum number of results to return. integer between 1 and 1000, optional, default: 1000 Intervallo: da 1 a 1000.
non-negative integer, optional, default: 0 Minimo: 0.
Order results by values of the specified attribute. One of the following strings: 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start', 'observation_end', 'popularity', 'group_popularity'. optional, default: series_i
The end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
The start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
Sort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

FRED Get Tags Series API

Returns the FRED data series that carry all of the tags you list. You send one or more tag names in tag_names, and the response lists matching series with their title, units, frequency and date range.

Use cases

  • List every FRED series tagged usa and quarterly to build a catalog of U.S. quarterly indicators.
  • Sort matches by popularity to find the most used series for a topic.
  • Exclude unwanted tags with exclude_tag_names to narrow a broad tag down to the series you need.
  • Page through all matches to sync series IDs and metadata into your own database.

Request

curl -X POST "https://api.sandbase.ai/v1/api/fred/tags-series" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tag_names": "usa", "file_type": "json"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
tag_namesstringYesA semicolon delimited list of tag names that series match all of. String, required, no default value. Example value: 'slovenia;food'. Filter results to series having both tags 'slovenia' and 'food'. See the related reque
exclude_tag_namesstringNoA semicolon delimited list of tag names that series match none of. String, optional, no default value. Example value: 'alchohol;quarterly'. Filter results to series having neither tag 'alchohol' nor tag 'quarterly'.
file_typestringNoResponse format. Only json is supported.
limitintegerNoThe maximum number of results to return. integer between 1 and 1000, optional, default: 1000
offsetintegerNonon-negative integer, optional, default: 0
order_bystringNoOrder results by values of the specified attribute. One of the following strings: 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start',
realtime_endstringNoThe end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
realtime_startstringNoThe start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
sort_orderstringNoSort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', 'desc'. optional, default: asc

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "count": 679198,
  "limit": 1000,
  "offset": 0,
  "order_by": "series_id",
  "realtime_end": "2026-11-03",
  "realtime_start": "2026-11-03",
  "seriess": [
    {
      "frequency": "Quarterly",
      "frequency_short": "Q",
      "group_popularity": 1,
      "id": "101458USN",
      "last_updated": "2026-09-08 09:11:33-05",
      "notes": "Further information related to the Quarterly Financial Report survey can be foun…",
      "observation_end": "2026-04-01",
      "observation_start": "2000-10-01",
      "popularity": 1,
      "realtime_end": "2026-11-03",
      "realtime_start": "2026-11-03",
      "seasonal_adjustment": "Not Seasonally Adjusted"
    }
  ],
  "sort_order": "asc"
}

Response fields

FieldMeaning
countTotal number of series that match the tag filter. Use it with limit and offset to page through results.
limit / offset / order_by / sort_orderEcho of the paging and sorting settings used for this response.
realtime_start / realtime_endThe real-time period applied to the request, as YYYY-MM-DD dates. Each series item repeats these values.
seriess[].idThe FRED series ID, for example 101458USN. Use it to look up the series in other FRED calls.
seriess[].titleFull name of the series.
seriess[].frequency / seriess[].frequency_shortHow often the series is observed, as a full word (Quarterly) and a short code (Q).
seriess[].units / seriess[].units_shortThe unit of the values, as a full label (Millions of Dollars) and a short label.
seriess[].seasonal_adjustment / seriess[].seasonal_adjustment_shortWhether the series is seasonally adjusted, as a full label (Not Seasonally Adjusted) and a short code (NSA).
seriess[].observation_start / seriess[].observation_endFirst and last observation dates of the series.
seriess[].popularity / seriess[].group_popularityPopularity scores for the series and for its group of related series.

Notes

  • The series list is under the key seriess (with a double s).
  • Use limit (1 to 1000) and offset to page. Compare offset plus limit against count to know when to stop.
  • Get valid tag names from FRED Get Tags. Separate several names with a semicolon, for example usa;quarterly.
  • Pass a series id to FRED Get Series Observations to fetch the data values.

Pricing

$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
FRED$0.00001 per chiamataJSON
FRED$0.00001 per chiamataJSON
FRED$0.00001 per chiamataJSON
FRED$0.00001 per chiamataJSON
FRED$0.00001 per chiamataJSON
FRED$0.00001 per chiamataJSON

Domande

FAQ

Come uso l'API FRED Get Tags Series?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/fred/tags-series con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API FRED Get Tags Series?

$0.00001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API FRED Get Tags Series?

Richiesti: tag_names (string). Facoltativi: exclude_tag_names (string), file_type (uno tra json), limit (integer), offset (integer), order_by (uno tra series_id, title, units, frequency, seasonal_adjustment, realtime_start, realtime_end, last_updated, observation_start, observation_end, popularity, group_popularity) e realtime_end (string) e altri 2. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API FRED Get Tags Series?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API FRED?

No. FRED Get Tags Series funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API FRED.