Media asset
GET /v1/media/asset/{token}Resolve a signed media link and redirect to the file.
Authenticate with an API key from the API & MCP Hub. The same call is available as an MCP tool at the same price.
Reference
What GET /v1/media/asset/{token} returns
Unauthenticated by design — see the module note. Not metered either: the catalogue call that minted this link was the billable event, and charging per image would bill a customer once per thumbnail their page happens to render.
Request
Calling GET /v1/media/asset/{token}
curl "https://api.marketcode.ai/v1/media/asset/%3Ctoken%3E" \
-H "Authorization: Bearer $MARKETCODE_API_KEY"Send your API key as a Bearer token. Every response carries credits_charged and credits_remaining.
Inputs
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| token | Path | string | Yes |
Price and licence
What it costs, and where the data comes from
The price of Media asset is not in the live price table yet; the page shows a dash rather than a guess.
Credits are granted on sign-up and bought in packs; the pricing page lists every call.
FAQ
Questions about Media asset
How much does `media-asset` cost?
+
The price of Media asset is not in the live price table yet; the page shows a dash rather than a guess.
How do I authenticate?
+
Send your API key as a Bearer token in the Authorization header. Keys are created in the API & MCP Hub, shown once and revocable. Every response carries the credits charged and your remaining balance.
Try Media asset on a real address.
30-minute call. We'll provision a key and walk through the endpoint on your use case.