{
  "x402Version": 2,
  "id": 39943,
  "slug": "39943",
  "resource": "https://x402stock.xyz/api/v1/conditions",
  "description": "Reference catalog of trade/quote condition codes (the numeric `conditions` seen on trades) with names, types, data types, and SIP mappings. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "conditions": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "data_types": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "id": {
                  "type": "number"
                },
                "name": {
                  "type": "string"
                },
                "sip_mapping": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "type",
                "name",
                "data_types",
                "sip_mapping"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "count": {
            "type": "number"
          },
          "source": {
            "const": "x402stock",
            "type": "string"
          }
        },
        "required": [
          "source",
          "as_of",
          "count",
          "conditions"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "limit": 50
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-05-29T20:00:00.000Z",
            "conditions": [
              {
                "data_types": [
                  "trade"
                ],
                "id": 1,
                "name": "Acquisition",
                "sip_mapping": {
                  "UTP": "A"
                },
                "type": "sale_condition"
              }
            ],
            "count": 1,
            "source": "x402stock"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "limit": {
                    "default": 50,
                    "exclusiveMinimum": 0,
                    "maximum": 1000,
                    "type": "integer"
                  }
                },
                "required": [
                  "limit"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "conditions": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "data_types": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "id": {
                          "type": "number"
                        },
                        "name": {
                          "type": "string"
                        },
                        "sip_mapping": {
                          "additionalProperties": {
                            "type": "string"
                          },
                          "propertyNames": {
                            "type": "string"
                          },
                          "type": "object"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "type",
                        "name",
                        "data_types",
                        "sip_mapping"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "count": {
                    "type": "number"
                  },
                  "source": {
                    "const": "x402stock",
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "count",
                  "conditions"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-10-08T06:26:33.133Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:26:32.945Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "limit": 50
            },
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-05-29T20:00:00.000Z",
              "conditions": [
                {
                  "data_types": [
                    "trade"
                  ],
                  "id": 1,
                  "name": "Acquisition",
                  "sip_mapping": {
                    "UTP": "A"
                  },
                  "type": "sale_condition"
                }
              ],
              "count": 1,
              "source": "x402stock"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "limit": {
                      "default": 50,
                      "exclusiveMinimum": 0,
                      "maximum": 1000,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "limit"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "as_of": {
                      "type": "string"
                    },
                    "conditions": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "data_types": {
                            "items": {
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "id": {
                            "type": "number"
                          },
                          "name": {
                            "type": "string"
                          },
                          "sip_mapping": {
                            "additionalProperties": {
                              "type": "string"
                            },
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "type",
                          "name",
                          "data_types",
                          "sip_mapping"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "count": {
                      "type": "number"
                    },
                    "source": {
                      "const": "x402stock",
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "as_of",
                    "count",
                    "conditions"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.xyz",
    "manifest_name": "x402stock.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "as_of": "2026-05-29T20:00:00.000Z",
    "conditions": [
      {
        "data_types": [
          "trade"
        ],
        "id": 1,
        "name": "Acquisition",
        "sip_mapping": {
          "UTP": "A"
        },
        "type": "sale_condition"
      }
    ],
    "count": 1,
    "source": "x402stock"
  }
}