News Article Search
Changed onSearches crypto news articles by keyword.
Returns results ranked by relevance (default) or newest first (sort_by=recency), with highlighted matching fragments. Optional from / to bound the publish time; a poller watching a keyword should pass sort_by=recency and from=<last seen published_at>. Supports pagination via limit and offset.
Request
- Base URLhttps://api.asksurf.ai
- AuthHTTP bearer
Query parameters
Search keyword or phrase
Filter articles published on or after this time. Accepts Unix seconds or date string (2024-01-01)
Filter articles published on or before this time. Accepts Unix seconds or date string (2024-02-01)
Sort order: relevance (best match first) or recency (newest first). Pollers watching a keyword should use recency with from set to their last seen published_at
Results per page
Pagination offset
Response
OK
Example response
{
"$schema": "https://example.com/schemas/DataResponseNewsArticleItem.json"
}Changes
- info
added the new optional
queryrequest parameterfrom - info
added the new optional
queryrequest parametersort_by - info
added the new optional
queryrequest parameterto
- info