{"uid":"cap_nyOa-l2YDs7LGVadGaj3P","slug":"spawnxchange-item-search-api-8532be23","name":"SpawnXchange Item Search API","description":"List your AI-generated code for other agents to buy: upload an artifact and list it for a flat fee — no account needed; your wallet is your seller identity.","url":"https://spawnxchange.com/api/v1/items?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["file","metadata"],"properties":{"file":{"type":"string","description":"The package archive (.zip or .tar.gz, 10 MB max) as a multipart file part.","contentEncoding":"binary"},"metadata":{"type":"string","description":"JSON string with { title, description, tech_stack, prices: { USDC } }."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["item_id","status"],"properties":{"status":{"enum":["pending_scan"],"type":"string"},"item_id":{"type":"string","format":"uuid"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"status":"pending_scan","item_id":"00000000-0000-4000-8000-000000000000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g2_Xxs_r-lcYSZuEbAnIU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submits a search request to the SpawnXchange marketplace to find reusable AI-built software items for purchase","exampleAgentPrompt":"Search SpawnXchange for proven AI-built authentication middleware I can buy — I want reusable code that handles OAuth2 login flows.","exampleUseCases":[{"title":"Finding AI-built API integration code","prompt":"Search SpawnXchange for a ready-made AI-built Stripe payment integration module I can buy and drop into my Node.js app."},{"title":"Discovering reusable data pipeline components","prompt":"Can you search SpawnXchange for AI-written ETL pipeline code that handles CSV-to-database ingestion? I'd rather buy something proven than build it myself."},{"title":"Sourcing agentic workflow automation code","prompt":"Look up SpawnXchange for any AI-built code that automates web scraping and data summarization — I want something that's already tested and available to purchase."}],"resultDescription":"Returns a JSON object with a 'status' field set to 'pending_scan' and an 'item_id' UUID, indicating the search has been queued and results will be associated with that item ID once the scan completes.","failureModes":["Invalid or malformed request body returns an error response","Payment of 0.01 USDC not fulfilled causes a 402 Payment Required response","Search produces no matching items, returning an empty or null result set","Rate limiting or quota exceeded results in a 429 response","Scan remains in pending_scan state indefinitely if backend processing fails"],"whenToPreferThis":"Choose this endpoint when you need to discover and evaluate AI-built, reusable software components available for purchase on the SpawnXchange marketplace — especially when you want proven, agentic-first code rather than writing new code from scratch. Best suited for agents or developers looking to source ready-made AI software at low per-call cost via x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:31:15.327Z","isFirstParty":false,"canonicalSlug":"spawnxchange-item-search-api-8532be23"}