- REST reference
- Market context
- Breaking news
Get one event
GET/public/v1/breaking-news/{event_id}
One breaking-news event by id, with the same fields as the list.
Request
curl "https://api.tradeeasyai.net/public/v1/breaking-news/<event_id>" \
-H "X-API-Key: $TRADEEASY_API_KEY"Response shape
Field names and types; no sample values.
{
"success": true,
"data": {
"id": "<integer>",
"title": "<string>",
"detected_at": "<string>"
},
"meta": { "timestamp": "<string>", "request_id": "<string>" }
}Parameters#
- event_idintegerpathRequired
An id from events[].id. Ids are integers.
Response fields#
- idinteger
The event id.
- titlestring
The headline title.
- detected_atstring · ISO 8601
When TradeEasy detected it.
Same object as one item of the list.
Errors#
- 400INVALID_ID
The id is empty, too long, or not an integer.
- 401detail
Missing, invalid or revoked key, or a locked account. FastAPI {"detail": …} body, not the envelope.
- 403detail
The plan does not include the REST API, or the subscription is not active.
- 404EVENT_NOT_FOUND
No event has that id.
- 429RATE_LIMIT_EXCEEDED
Per-key minute or day bucket spent. Honour Retry-After.
- 500FETCH_FAILED
Unexpected read failure. Retry with backoff.
