Get trait offers for a collection
Changed onGet trait offers for a collection. Use the mode parameter to select the bid category.
Single string trait: ?mode=STRING&type=Background&value=Red Multiple string traits: ?mode=MULTI&traits=[{"traitType":"Background","value":"Red"},{"traitType":"Eyes","value":"Blue"}] Numeric trait range: ?mode=NUMERIC&type=Level&min_value=1&max_value=10
Omit filter params to discover all bids of that mode (e.g. ?mode=NUMERIC returns all numeric bids).
If mode is omitted, the mode is inferred from the params for backward compatibility.
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Unique string to identify a collection on OpenSea
Query parameters
Bid category: STRING (single string trait), MULTI (multiple string traits), or NUMERIC (numeric trait range). If omitted, inferred from params.
Trait type name
Trait value as string
Trait value as float
Trait value as integer
Minimum value for numeric trait range queries
Maximum value for numeric trait range queries
JSON array of trait filters for multi-trait queries. Each element has 'traitType' and 'value' fields. Example: [{"traitType":"Background","value":"Red"}]
Number of items to return per page
Response
OK
Example response
{
"offers": [
{
"svm_order": {
"id": "5j7s1QzqC8sT4Kz1oB9dYnUZ4qHnKX6h9YmZ6Zt7Zb3Q:CvhyBLWDcNwMatkNvMYuHALvbG1NzYrGw32dGzREaQKc"
}
}
]
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
///became nullable for the status - breaking
the response property
////became nullable for the status - breaking
the
///response's property type changed fromobjectto no type for status - breaking
the
///response's property type changed fromobjectto no type for status - breaking
removed the required property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - info
added the media type
*/*for the response with the status - info
added the media type
*/*for the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added
subschema #2to the///response propertyanyOflist for the response status - info
added
subschema #2to the///response propertyanyOflist for the response status
- breaking