OptionalapiOptionalbaseOptionalcacheOptional response cache.
OptionalcacheTime-to-live per kind of data, in ms.
OptionalclockFor tests.
OptionaldeduplicateIdentical calls made at the same time share one HTTP request. Default true.
OptionalmaxRetries for network errors and HTTP 5xx, with exponential backoff. Default 2.
OptionalrateDefault 60000.
OptionalrequestCalled once per call, after it finishes. Errors it throws are ignored.
OptionalrequestsClient-side limit; default 30 for a free key, 100 otherwise; 0 turns it off.
OptionalretryFirst backoff in ms; doubles on every retry. Default 500.
OptionalretryOn HTTP 429, wait (Retry-After, or rateLimitWaitMs) and retry once. Default true.
OptionaltimeoutPer request, in ms; applies to the default transport. Default 30000.
OptionaltransportDefault the global fetch with timeoutMs.
OptionaluserSent as User-Agent (ignored by browsers).
Your API key. Default: the free key "123".