Fox News API endpoint
Searches Fox News. Results may include article, video, or slideshow records; use type to restrict the result kind.
/foxnews/searchQuery parameters:
q: required search text, 1–200 characters.start: optional 1-based result offset from 1 through 10000; defaults to 1.type: optional result type: article, video, or slideshow.The result type identifies the record kind; a result URL may therefore be a video or slideshow rather than an article.
| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| title | 10 | median 95 characters |
| url | 10 | foxnews.com |
| type | 10 | article in all 10 |
| summary | 10 | median 146 characters |
| published_at | 10 | 2021-06-18 to 2026-10-13 |
| image_url | 10 | static.foxnews.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Search query | election | |
| start | integer | No | 1-based result offset Minimum: 1. Maximum: 10000. | ||
| type | string | No | Result type Allowed values: article, video, slideshow. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/foxnews/search?q=election&type=article" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"query": "election",
"start": 1,
"items": [
{
"title": "Example result",
"type": "article",
"url": "https://www.foxnews.com/politics/example-result",
"published_at": "2026-09-21T04:11:08Z"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/foxnews.searchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | foxnews.SearchResponse | No | ||||
| data.items | array | No | HeadlineItem record, 7 fields: author, image_url, published_at, summary, title, type, url. Described under Fox News top stories API. | |||
| data.query | string | No | ||||
| data.start | integer | No | ||||
| data.total | integer | No | ||||
| data.type | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/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/foxnews/search?q=election&type=article" \
-H "x-api-key: $CRAWLORA_API_KEY"