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

AAA Search News Articles

API-Dokumentation
https://api.sandbase.ai/v1/api/aaa/search-news-articles

Searches the AAA gas price news archive (weekly national reports and state-specific releases going back years) by keyword, optionally restricted to a publication date range, and returns one page of matching articles.

Preis
$0.01USD / Aufruf
Methode
POST
Antwort
Asynchrones JSON
Parameter
1 erforderlich · 5 optional

Playground

Eingabe
Keyword or phrase to search article titles and bodies for, e.g. a state name such as Indiana.
1-based page number of the match set. Bereich: -9007199254740991 bis 9007199254740991.
Articles per page, 1 to 100. Bereich: -9007199254740991 bis 9007199254740991.
Sort direction by publication date.
Latest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no upper bound, i.e. results run until now.
Earliest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no lower bound.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

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

API-README

AAA Search News Articles

Searches the AAA gas price news archive (weekly national reports and state-specific releases going back years) by keyword, optionally restricted to a publication date range, and returns one page of matching articles.

Request

curl -X POST "https://api.sandbase.ai/v1/api/aaa/search-news-articles" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "gas prices"}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesKeyword or phrase to search article titles and bodies for, e.g. a state name such as Indiana.
end_datestringNoLatest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no upper bound, i.e. results run until now.
limitintegerNoArticles per page, 1 to 100.
orderstringNoSort direction by publication date.
pageintegerNo1-based page number of the match set.
start_datestringNoEarliest publication date to include, ISO date YYYY-MM-DD (inclusive). Omitting places no lower bound.

Pricing

Flat price per call. Failed calls are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
AAA$0.01 pro AufrufAsynchrones JSON
AAA$0.01 pro AufrufAsynchrones JSON
AAA$0.01 pro AufrufAsynchrones JSON
AAA$0.01 pro AufrufAsynchrones JSON
AAA$0.01 pro AufrufAsynchrones JSON
AAA$0.01 pro AufrufAsynchrones JSON

Fragen

FAQ

Wie verwende ich die AAA Search News Articles API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/aaa/search-news-articles 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 AAA Search News Articles API?

$0.01 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 AAA Search News Articles API?

Erforderlich: query (string). Optional: page (integer), limit (integer), order (string), end_date (string) und start_date (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die AAA Search News Articles API zurück?

Ein JSON-Ergebnis. Dieser Endpunkt läuft asynchron, daher zeigt die Antwort, wie Sie das fertige Ergebnis abrufen.

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

Nein. AAA Search News Articles 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 AAA API beantragen.