Benzinga API endpoint
Returns up to five public news-article suggestions from Benzinga's anonymous search typeahead. Ticker-only suggestions are omitted; this is not a paginated archive search.
/benzinga/searchParameters:
q (required): 2 to 100 characters.x-api-key.| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| q | string | Yes | Search text (2 to 100 characters) | Tesla | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/benzinga/search?q=Tesla" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"query": "Tesla",
"items": [
{
"title": "Example Tesla story",
"url": "https://www.benzinga.com/news/markets/26/09/62073002/example-story",
"summary": "A short teaser.",
"tickers": [
"TSLA"
]
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.benzingaSearchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | object | No | ||||
| data.items | array | No | ||||
| data.items[].author | string | No | ||||
| data.items[].image_url | string | No | ||||
| data.items[].published_at | string | No | ||||
| data.items[].summary | string | No | ||||
| data.items[].tickers | array | No | ||||
| data.items[].title | string | No | ||||
| data.items[].url | string | No | ||||
| data.query | 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/search?q=Tesla" \
-H "x-api-key: $CRAWLORA_API_KEY"