Docs/Lottie

GET/v1/lottie3 credits

Lottie

Lottie animations declared in the initial HTML. Best-effort - most Lotties are injected by JavaScript at runtime and need the browser extension.

  • Recover Lottie animation JSON declared in a page.
  • Collect motion assets for a design library.
  • Audit which sites ship Lottie in static HTML.
Parameters
urlrequiredThe page to extract from. With or without protocol (https:// is assumed).
fieldsoptionalComma-separated list of fields to return (e.g. fields=lotties). Omit for the full object. url is always included. Trims the response only - the credit cost is unchanged. lotties · count · note

Build a request

GEThttps://miromiro.app/api/v1/v1/lottie?url=stripe.com

urlrequired
fields

Nothing selected returns the full response.

Options at their default are left out of the URL - the API assumes them. Auth isn't shown here: send your key as an Authorization: Bearer header (see the example below).

Response

Authorization: Bearer mm_live_…
Response fields
urlstringThe resolved URL that was extracted.
lotties[]arrayEach { url, source }. source ∈ lottie-player, dotlottie-player, data-attr, json-ref - the element or attribute it was declared on.
countnumberTotal number of Lottie animations found.
notestringCaveat that JS-injected Lotties need the browser extension.
usageobjectMetering for this call: credits spent this month, your monthly cap (null = unlimited), credits remaining, what this call cost (0 on cache hits), and whether it was served from the 24-hour cache.

Example request

https://miromiro.app/api/v1/extract?url=stripe.com&access_key=mm_live_…