Yahoo Search API endpoint
Returns Yahoo's news-search results for a query: title, destination URL, description, source, and relative publish age. Results are fetched from Yahoo's own server-rendered news-search page (news.search.yahoo.com) -- a distinct product from the yahoo-news family, which covers the www.yahoo.com/news portal itself. Yahoo wraps every result link in its own click-tracking redirect; this endpoint always returns the decoded destination URL, never the raw redirect link.
/yahoo-search/newsQuery parameters:
q (required) — the search query.Notable response behavior:
r.search.yahoo.com/...); url in the response is always the decoded
destination URL, never the raw redirect link.results array, not an
error.| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| position | 10 | 1 to 10, median 5 |
| title | 10 | median 83 characters |
| url | 10 | tech.yahoo.com and 5 other hosts |
| description | 10 | median 100 characters |
| source | 10 | “TechRadar” and 6 other values |
| age | 10 | “4 hours ago” and 9 other values |
| thumbnail_url | 10 | s.yimg.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Search query | chatgpt | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/yahoo-search/news?q=chatgpt" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "chatgpt",
"results": [
{
"position": 1,
"title": "I Asked ChatGPT How To Retire Early at 55",
"url": "https://www.aol.com/articles/asked-chatgpt-retire-early-55.html",
"description": "I asked ChatGPT how to retire at 55. The roadmap it built was mostly right.",
"source": "MoneyLion",
"age": "29 minutes ago",
"thumbnail_url": "https://s.yimg.com/fz/api/res/example.jpg"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/yahoosearch.newsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | yahoosearch.NewsResponse | No | ||||
| data.query | string | No | chatgpt | |||
| data.results | array | No | ||||
| data.results[].age | string | No | 29 minutes ago | |||
| data.results[].description | string | No | ||||
| data.results[].position | integer | No | 1 | |||
| data.results[].source | string | No | AFP | |||
| data.results[].thumbnail_url | string | No | ||||
| data.results[].title | string | No | OpenAI announces ChatGPT update | |||
| data.results[].url | string | No | https://example.com/article | |||
| 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-search/news?q=chatgpt" \
-H "x-api-key: $CRAWLORA_API_KEY"