API reference · History

List speakers

GET/v1/history/speakers

Speaker profiles with their settled-market and mention counts.

On this page

Auth. An API token: Authorization: Bearer lb_… (create one). Signed-in web sessions work too.

Limits. One history query per call (500 a day on Free; unlimited on Builder and Standard).

Parameters

Query parameters

NameTypeRequiredDescription
qstringnoFree text over the name and aliases.
limitintegernoPage size. 1 to 1000. Default 200.

Request

Terminal
curl "https://api.langbot.ai/v1/history/speakers?q=powell" \
  -H "Authorization: Bearer $LANGBOT_API_TOKEN"

Response

200 OK

JSON
{
  "count": 1,
  "speakers": [
    { "speaker_key": "powell", "display_name": "Jerome Powell", "role": "Chair", "org": "Federal Reserve", "aliases": ["Chair Powell", "Powell"], "profiled": true, "markets": 214, "mentions": 1830, "yes": 51, "no": 160, "void": 3, "yes_rate": 0.242, "last_settled_ts": 1792000000000 }
  ]
}

Errors

StatuscodeWhen
401auth_requiredNo token was sent.
401token_invalidThe token was not recognised (mistyped, revoked or expired).
422validation_errorA parameter failed validation; detail[].loc names it.
429quota_exceededToday's history queries are spent; quota.resets_at says when they reset.
429rate_limitedOver your request budget; wait Retry-After seconds.

Every error body is {"detail": …, "code": "…"}; branch on code. All codes: Errors.