Get marketplace filters
Marketplace
Get marketplace filters
Returns facet values for building marketplace listing filters.
GET
Get marketplace filters
Returns the allowed metadata facet values for the Phygitals marketplace catalog. Use this to populate filter UI before calling
Trait keys in
GET /api/marketplace/marketplace-listings.
No authentication required. This is a public read endpoint. Responses are cached server-side for five minutes.
Example request
Response
Fields
Map of trait name → array of
{ value: string } options. Only a fixed whitelist of traits is returned: Type, Rarity, Set, Grader, Grade, Set Release Date, and Language.Using filters with listings
Pass selected values into themetadataConditions query parameter on GET /api/marketplace/marketplace-listings:
metadataConditions should match the facet names from this endpoint (for example Grader, not grader).
Error responses
| Status | Body | Cause |
|---|---|---|
500 | { "error": "Internal server error" } | Unexpected server failure |