Skip to content

gdeltDocUrl ​

Import from: @xbbg/xnews, @xbbg/xnews/catalog

gdeltDocUrl(query, options?): string

Defined in: src/sources/gdelt.urls.ts (declaration: sources/gdelt.urls.d.ts:6)

GDELT DOC 2.0 API (https://blog.gdeltproject.org/gdelt-doc-2-0-api-debuts/): free and keyless, rate-limited to roughly one request every five seconds per IP.

Parameters ​

query ​

string

options? ​

Pick<SourceFetchOptions, "limit" | "since" | "until">

Returns ​

string

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.