{"openapi":"3.1.0","info":{"title":"New x402 Listings Feed","description":"Feed of x402/L402 services newly listed on 402index.io within a caller-specified recency window (default 24h, max 7d). Source data is 402index.io's own free public directory -- this asset's value is polling/dedup/filtering convenience, not exclusive data access.","version":"1.0.0","contact":{"email":"dasaanrod@gmail.com"}},"paths":{"/new-x402-listings":{"post":{"summary":"New X402 Listings Endpoint","description":"Return x402/L402 services newly registered on 402index.io within the\nrequested window. Payment (x402, $0.01) settles BEFORE this handler\nruns, at the ASGI middleware layer ahead of request validation -- a\ncall is charged even if it 422s. Caller input (window_hours/protocol/\ncategory/payment_network) is never interpolated into the upstream\n402index.io request URL -- the upstream catalog walk and feed fetch\nuse fixed, hardcoded query params only; caller filters are applied\nexclusively to the already-fetched, normalized in-memory result.","operationId":"new_x402_listings_endpoint_new_x402_listings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewListingsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response New X402 Listings Endpoint New X402 Listings Post"}}}},"422":{"description":"invalid request body (window_hours out of range, bad protocol value)"},"402":{"description":"Payment Required"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{}}]}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}}},"components":{"schemas":{"NewListingsRequest":{"properties":{"window_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Window Hours","description":"Recency window in hours, 1-168 (7 days). Default 24.","default":24},"protocol":{"anyOf":[{"type":"string","enum":["x402","l402","X402","L402"]},{"type":"null"}],"title":"Protocol","description":"Filter by protocol."},"category":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Category","description":"Filter by category, prefix match (e.g. 'crypto' matches 'crypto/nft')."},"payment_network":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Payment Network","description":"Filter by payment network, exact match (e.g. 'Base', 'Lightning')."}},"type":"object","title":"NewListingsRequest"}}}}