{"uid":"cap__ROi7pEA5azRx0DmAN9U-","slug":"strale-api-mock-response-5ceea50c","name":"Strale API Mock Response","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/api-mock-response?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"response_schema":{"type":"string"}}},"responseSchema":{"body":{"type":"string"},"headers":{"type":"object"},"status_code":{"type":"integer"},"content_type":{"type":"string"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","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.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qQHycCUcp2MHMjMEMWuJQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a mock API response conforming to a given JSON schema, useful for testing and development workflows.","exampleAgentPrompt":"Generate a mock API response that matches this JSON schema: {\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"age\":{\"type\":\"integer\"}}} — I need realistic dummy data for testing my integration.","exampleUseCases":[{"title":"Mock data for integration testing","prompt":"Can you generate a fake API response that matches my schema so I can test my frontend without hitting the real backend? The schema expects an object with fields: userId (string), email (string), and createdAt (ISO date string)."},{"title":"Prototype response for new API design","prompt":"I'm designing a new API endpoint and need a sample response to share with my team. Can you mock a response that looks like: {\"type\":\"object\",\"properties\":{\"orderId\":{\"type\":\"string\"},\"status\":{\"type\":\"string\",\"enum\":[\"pending\",\"shipped\",\"delivered\"]},\"total\":{\"type\":\"number\"}}}?"},{"title":"CI pipeline test fixture generation","prompt":"We need a simulated API payload for our CI tests — can you give me a mock response matching this schema: {\"type\":\"object\",\"properties\":{\"productId\":{\"type\":\"string\"},\"inStock\":{\"type\":\"boolean\"},\"price\":{\"type\":\"number\"}}}?"}],"resultDescription":"A mock JSON response object conforming to the provided response_schema, containing plausible synthetic values for each schema field. The response is wrapped in a Strale audit record with cryptographic chain hashing for traceability.","failureModes":["Invalid or malformed response_schema causes a schema parse error","Schema references unsupported types or complex nested structures may produce incomplete mocks","Empty or missing response_schema parameter results in an unstructured or default response","Schema complexity exceeds limits may return a partial mock"],"whenToPreferThis":"Choose this endpoint when you need a quick, schema-conformant mock API response for testing, prototyping, or CI pipeline fixtures without standing up a real backend. Particularly useful when you want an auditable, verifiable mock generation with cryptographic chain hashing included in the response for compliance or traceability purposes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T12:47:28.041Z","isFirstParty":false,"canonicalSlug":"strale-api-mock-response-5ceea50c"}