Benzinga API endpoint
Returns current Benzinga story cards for one section. `section` is required and is `latest`, `technology-stocks`, `politics` or `health-care`. Each item has a title and URL, and may also carry a summary, author, publication time and image.
/benzinga/headlinesReturns current story cards from one public Benzinga news section. Use benzinga_sections to discover the accepted values.
Parameters:
section (required): latest, technology-stocks, politics, or health-care.x-api-key.| Field | Filled in, of 5 checked | Values in the sample |
|---|---|---|
| title | 5 | median 72 characters |
| url | 5 | benzinga.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | Yes | Benzinga editorial section slug Allowed values: latest, technology-stocks, politics, health-care. | latest | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/benzinga/headlines?section=latest" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"section": "politics",
"items": [
{
"title": "Example policy story",
"url": "https://www.benzinga.com/news/politics/26/09/62073002/example-story"
}
]
}
}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 Benzinga top stories API. | |||
| data.section | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/benzinga/headlines?section=latest" \
-H "x-api-key: $CRAWLORA_API_KEY"