egdata API
API ReferenceOffer Details

Generate a WebP offer database preview

WebP version of /offers/{id}/og with the same metadata, country selection, missing-data fallbacks, and 404 errors.

GET
/offers/{id}/og.webp

WebP version of /offers/{id}/og with the same metadata, country selection, missing-data fallbacks, and 404 errors.

Path Parameters

id*string

Epic offer identifier.

Query Parameters

country?string

Country code for current pricing. Defaults to the EGDATA_COUNTRY cookie, then US. Unknown codes return 404; country-restricted prices display Unavailable.

v?string

Optional URL cache buster. Does not select a historical snapshot.

EGDATA_COUNTRY?string

Pricing country when the country query parameter is absent.

Response Body

image/webp

application/json

application/json

application/json

curl -X GET "https://example.com/offers/09176f4ff7564bbbb499bbe20bd6348f/og.webp"
"string"
{  "message": "string",  "error": "string"}
{  "message": "string",  "error": "string"}
{  "message": "string",  "error": "string"}