AP News API endpoint
Returns current headlines from AP News' public Fact Check page. The service does not bypass authentication or access controls. Billing is 1 credit, or 5 credits when browser rendering is required.
/apnews/fact-checkReturns current headlines from AP News' public Fact Check page at https://apnews.com/ap-fact-check. This is a standalone AP landing page rather than a generic /hub/<section> feed, and it returns the same headline response shape. Billing is 1 credit, or 5 credits when the page requires a browser render.
This endpoint has no query parameters.
| Field | Filled in, of 5 checked | Values in the sample |
|---|---|---|
| title | 5 | median 92 characters |
| url | 5 | apnews.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/apnews/fact-check" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"section": "fact-check",
"items": [
{
"title": "Example AP fact check",
"url": "https://apnews.com/article/example-fact-check-id"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.headlinesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.HeadlinesResponse | No | ||||
| data.items | array | No | HeadlineItem record, 7 fields: author, image_url, published_at, summary, title, type, url. Described under AP News top stories API. | |||
| data.section | string | No |
| Status | Description | Schema |
|---|---|---|
| 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/apnews/fact-check" \
-H "x-api-key: $CRAWLORA_API_KEY"