Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

FRED Get Tags Series

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

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

Preis
$0.00001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 8 optional

Playground

Eingabe
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 Bereich: 1 bis 1000.
non-negative integer, optional, default: 0 Minimum: 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
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
FRED$0.00001 pro AufrufJSON
FRED$0.00001 pro AufrufJSON
FRED$0.00001 pro AufrufJSON
FRED$0.00001 pro AufrufJSON
FRED$0.00001 pro AufrufJSON
FRED$0.00001 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die FRED Get Tags Series API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/fred/tags-series mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die FRED Get Tags Series API?

$0.00001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die FRED Get Tags Series API?

Erforderlich: tag_names (string). Optional: exclude_tag_names (string), file_type (eines von json), limit (integer), offset (integer), order_by (eines von series_id, title, units, frequency, seasonal_adjustment, realtime_start, realtime_end, last_updated, observation_start, observation_end, popularity, group_popularity) und realtime_end (string) und 2 weitere. Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die FRED Get Tags Series API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein FRED-Entwicklerkonto oder einen API-Schlüssel?

Nein. FRED Get Tags Series läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für FRED API beantragen.