CriteriaRequest
Criteria for collection or trait offers. When traits are specified, the offer targets NFTs matching those traits. For supported collections, the identifierOrCriteria (merkle root) will be '0' and trait matching is validated server-side at fulfillment time.
Properties
| Name | Type | Description |
|---|---|---|
| collection | object | |
| contract | object | |
| trait | object | Deprecated: Use 'traits' array instead which supports both single and multiple traits. |
| traits | array | Trait criteria for the offer. Each trait specifies a type and value that target NFTs must match. These traits are validated server-side at fulfillment time. |
| numericTraits | array | Numeric trait criteria for the offer. Each entry specifies a trait type with optional min/max range bounds. Can be combined with categorical traits. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://opensea.io/schemas/CriteriaRequest",
"title": "CriteriaRequest",
"type": "object",
"description": "Criteria for collection or trait offers. When traits are specified, the offer targets NFTs matching those traits. For supported collections, the identifierOrCriteria (merkle root) will be '0' and trait matching is validated server-side at fulfillment time.",
"properties": {
"collection": {
"$ref": "#/components/schemas/CollectionCriteria"
},
"contract": {
"$ref": "#/components/schemas/ContractCriteria"
},
"trait": {
"$ref": "#/components/schemas/TraitCriteria",
"deprecated": true,
"description": "Deprecated: Use 'traits' array instead which supports both single and multiple traits."
},
"traits": {
"type": "array",
"description": "Trait criteria for the offer. Each trait specifies a type and value that target NFTs must match. These traits are validated server-side at fulfillment time.",
"items": {
"$ref": "#/components/schemas/TraitCriteria"
}
},
"numericTraits": {
"type": "array",
"description": "Numeric trait criteria for the offer. Each entry specifies a trait type with optional min/max range bounds. Can be combined with categorical traits.",
"items": {
"$ref": "#/components/schemas/NumericTraitCriteria"
}
}
},
"required": [
"collection"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/CriteriaRequest"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.