Skip to main content
POST
/
api
/
magiceden
/
packs
/magiceden/packs
curl --request POST \
  --url https://api.anysite.io/api/magiceden/packs \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "include_deleted": false
}
'
[
  {
    "id": "<string>",
    "@type": "MagicedenPack",
    "display_name": "<string>",
    "kind": "<string>",
    "type": "<string>",
    "tier": "<string>",
    "chain": "<string>",
    "description": "<string>",
    "price": 123,
    "currency": "<string>",
    "payout_rate": 123,
    "asset_id": "<string>",
    "is_test_pack": false,
    "is_creator_pack": false,
    "is_featured_pack": false,
    "is_deleted": false
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of packs to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
include_deleted
boolean
default:false

Include deleted and retired packs

Response

Successful Response

id
string
required
@type
string
default:MagicedenPack
display_name
string | null
kind
string | null
type
string | null
tier
string | null
chain
string | null
description
string | null
price
number | null
currency
string | null
payout_rate
number | null
asset_id
string | null
is_test_pack
boolean
default:false
is_creator_pack
boolean
default:false
is_deleted
boolean
default:false