GET/v1/quotes
Search verbatim quotes by person and date
PARAMETERS
- personquery
- Filter by speaker name (case-insensitive substring)
- qquery
- Filter by topic: case-insensitive substring of the quote text or its context line
- sincequery
- Only quotes reported on or after this date (YYYY-MM-DD)
- limitquery · integer
- e.g. 50
- formatquery
- 'ndjson' streams one quote per line
REQUEST
curl "https://api.latestin.com/v1/quotes" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.latestin.com/v1/quotes", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.latestin.com/v1/quotes", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"count": 1,
"quotes": [
{
"context_line": "string",
"date_reported": "string",
"date_said": "string",
"quote_id": "string",
"source_count": 1,
"sources": [
{
"outlet": "string",
"source_url": "string"
}
],
"speaker_name": "string",
"text": "string"
}
]
}