egdata API
API ReferenceSearch

Get facet counts for a saved legacy search query

GET
/search/{id}/count

Path Parameters

id*string

Saved query hash returned by POST /search.

Query Parameters

country?string

ISO country code used to resolve an Epic Games Store pricing region. Defaults to the EGDATA_COUNTRY cookie, then US.

Length2 <= length <= 2

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/search/string/count"
{  "tagCounts": [    {}  ],  "offerTypeCounts": [    {}  ],  "total": 0,  "developer": [    {}  ],  "publisher": [    {}  ],  "priceRange": {}}
{  "message": "string",  "error": "string"}
{  "message": "string",  "error": "string"}
{  "message": "string",  "error": "string"}