{"uid":"cap_GJkXr0iSSiNmajta-v7Dt","slug":"agent-api-listings-mpp-package-builder-17d1624b","name":"Agent API Listings – MPP Package Builder","description":"Build validated MPP and x402 directory packages from OpenAPI metadata.","url":"https://agent-api-listings.46-224-157-88.sslip.io/v1/mpp-package","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name","default":null},"tags":{"type":"array","items":{"type":"string"},"title":"Tags","maxItems":20},"origin":{"type":"string","title":"Origin","maxLength":2048,"minLength":1},"openapi":{"type":"object","title":"Openapi","additionalProperties":true},"service_id":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Service Id","default":null},"provider_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Provider Name","default":null}}},"responseSchema":{"type":"json","example":{"entry":{"id":"example","endpoints":[{"route":"GET /mpp/v1/example","amount":"20000"}]},"format":"mpp.dev-service-def-v1","warnings":[],"typescript":"{ ... }"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eUc2Kun0KLTLbm-USA52z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts OpenAPI metadata into validated MPP and x402 directory packages for AI agent API discovery","exampleAgentPrompt":"Take my OpenAPI spec for 'WeatherFetch' at https://weatherfetch.io and build a validated MPP and x402 directory package from it, tagged as 'weather' and 'geospatial', with provider name 'WeatherFetch Inc'.","exampleUseCases":[{"title":"Publish new API to agent marketplace","prompt":"I have an OpenAPI spec for my translation service called 'LinguaAPI' hosted at https://linguaapi.example.com — can you build a validated MPP package from it with tags 'nlp' and 'translation' so AI agents can discover and call it?"},{"title":"Generate TypeScript types for agent SDK","prompt":"Can you convert my OpenAPI definition for 'DataPipeline Pro' at https://datapipeline.io into an MPP directory package? I need the TypeScript types and the x402 endpoint listings so I can drop them into my agent SDK."},{"title":"Validate and repackage existing API listing","prompt":"I want to re-register my payment API 'PayRouter' (service ID 'payrouter-v2', provider 'FinCore Ltd') at https://payrouter.fincore.io as an MPP package — please build it from my OpenAPI spec and flag any validation warnings."}],"resultDescription":"Returns a structured MPP directory entry containing the service ID, endpoint routes with pricing amounts, format identifier ('mpp.dev-service-def-v1'), TypeScript type definitions for the service, and any validation warnings encountered during package generation.","failureModes":["Invalid or malformed OpenAPI object causes validation failure and error response","Missing required 'origin' field (must be 1–2048 chars) results in a 422 Unprocessable Entity","OpenAPI spec references unsupported features or extensions that cannot be mapped to MPP format, triggering warnings or partial output","Too many tags supplied (max 20) causes request rejection","Network or service error returns 5xx with no package generated","Payment not received (402) if the $0.2 USDC x402 payment header is missing or invalid"],"whenToPreferThis":"Choose this endpoint when you need to programmatically convert an existing OpenAPI specification into a ready-to-publish MPP or x402 directory listing for AI agent discovery. It is the right tool when you want validated, structured output including TypeScript types and pricing metadata rather than manually authoring MPP JSON. Prefer this over generic API validators when the goal is agent-ecosystem publishing specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:37:31.783Z","isFirstParty":false}