Yahoo News API endpoint
Returns Yahoo News search-box autocomplete suggestions for the required partial query `q`, as a flat list of suggested news search terms in `suggestions`. `count` sets how many (default 10, clamped to 1 to 20). A query with no matches returns an empty array, not an error. The response also has `query` and `fetched_at`.
/yahoo-news/suggestQuery parameters:
q (required) — the partial search query to autocomplete.count (optional) — number of suggestions to return. Defaults to 10,
clamped to 1-20.Notable response behavior:
suggestions array, not
an error.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Partial search query to autocomplete | chatgpt | |
| count | integer | No | Number of suggestions to return, default 10, clamped to 1..20 | 10 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-news/suggest?q=chatgpt&count=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "chatgpt",
"suggestions": [
"chatgpt",
"chatgpt open ai",
"chatgpt free",
"chatgpt ai"
],
"source_url": "https://search.yahoo.com/sugg/gossip/gossip-us-news_vertical?command=chatgpt&nresults=10&output=sd1",
"fetched_at": "2026-08-14T00:00:00Z"
}
}Request schema
No body schema
Response schema
#/definitions/yahoonews.suggestResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoonews.SuggestResponse | No | ||||
| data.fetched_at | string | No | ||||
| data.query | string | No | chatgpt | |||
| data.source_url | string | No | ||||
| data.suggestions | array | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/yahoo-news/suggest?q=chatgpt&count=10" \
-H "x-api-key: $CRAWLORA_API_KEY"