{"schemaVersion":"server402.catalog.search.v1","generatedAt":"2026-07-21T21:48:15Z","generatedAtBeijing":"2026-07-22 05:48:15 CST","timezone":"Asia/Shanghai","query":"ai-seo-keyword-clusterer","filters":{"limit":10},"total":41,"services":[{"id":"ai-seo-keyword-clusterer","canonicalId":"ai-seo-keyword-clusterer","name":"AI SEO Keyword Clusterer","displayName":"AI SEO Keyword Clusterer","description":"Clusters keywords by intent, page type, priority, and content angle. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Clusters keywords by intent, page type, priority, and content angle. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-seo-keyword-clusterer","AI SEO Keyword Clusterer","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","seo","keyword-clustering","search-intent","content-plan","semantic:seo-keywords","intent:cluster-keywords","output:clusters"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs clusters keywords by intent, page type, priority, and content angle.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","seo","keyword-clustering","search-intent","content-plan","semantic:seo-keywords","intent:cluster-keywords","output:clusters"],"method":"POST","endpoint":"/api/tools/ai-seo-keyword-clusterer","endpointAliases":["/api/tools/ai-seo-keyword-clusterer"],"inputTypes":["object","string","array"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"keywords":{"description":"Required input field keywords.","items":{"type":"string"},"type":"array"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["keywords"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"keywords":["paid api","x402","ai agent"]},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-seo-keyword-clusterer","status":"ok"},"pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":18,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:30:14Z"},"discovery":{"toolName":"ai_seo_keyword_clusterer","searchText":"ai-seo-keyword-clusterer AI SEO Keyword Clusterer Clusters keywords by intent, page type, priority, and content angle. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Clusters keywords by intent, page type, priority, and content angle. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string array object string paid x402 usdc base bailian qwen llm ai-model model-service seo keyword-clustering search-intent content-plan semantic:seo-keywords intent:cluster-keywords output:clusters ai-seo-keyword-clusterer AI SEO Keyword Clusterer bailian qwen dashscope llm ai model ai agent paid ai api seo keyword-clustering search-intent content-plan semantic:seo-keywords intent:cluster-keywords output:clusters Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs clusters keywords by intent, page type, priority, and content angle. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-seo-keyword-clusterer","aliases":["AI SEO Keyword Clusterer","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","seo","keyword-clustering","search-intent","content-plan","semantic:seo-keywords","intent:cluster-keywords","output:clusters","ai-seo-keyword-clusterer","dashscope","ai model","ai agent","paid ai api","ai_seo_keyword_clusterer","/api/tools/ai-seo-keyword-clusterer"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs clusters keywords by intent, page type, priority, and content angle.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-seo-keyword-clusterer once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-seo-keyword-clusterer\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"keywords is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":302,"matchTerms":["ai seo keyword clusterer","ai","seo","keyword","clusterer"],"why":"Matched ai seo keyword clusterer, ai, seo, keyword, clusterer for \"AI SEO Keyword Clusterer\". Price is USD 0.01 per policy bailian-qwen-standard.","whyMatched":"Matched ai seo keyword clusterer, ai, seo, keyword, clusterer for \"AI SEO Keyword Clusterer\". Price is USD 0.01 per policy bailian-qwen-standard."},{"id":"ai-blog-outline-generator","canonicalId":"ai-blog-outline-generator","name":"AI Blog Outline Generator","displayName":"AI Blog Outline Generator","description":"Builds blog outlines, section briefs, intros, FAQs, and SEO angles from a topic. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Builds blog outlines, section briefs, intros, FAQs, and SEO angles from a topic. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-blog-outline-generator","AI Blog Outline Generator","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","blog-outline","content-strategy","seo-content","article-plan","semantic:blog-outline","intent:plan-article","output:outline"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs builds blog outlines, section briefs, intros, faqs, and seo angles from a topic.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","blog-outline","content-strategy","seo-content","article-plan","semantic:blog-outline","intent:plan-article","output:outline"],"method":"POST","endpoint":"/api/tools/ai-blog-outline-generator","endpointAliases":["/api/tools/ai-blog-outline-generator"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"topic":{"description":"Required input field topic.","type":"string"}},"required":["topic"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"topic":"Example topic."},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-blog-outline-generator","status":"ok"},"pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":27,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:33:59Z"},"discovery":{"toolName":"ai_blog_outline_generator","searchText":"ai-blog-outline-generator AI Blog Outline Generator Builds blog outlines, section briefs, intros, FAQs, and SEO angles from a topic. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Builds blog outlines, section briefs, intros, FAQs, and SEO angles from a topic. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service blog-outline content-strategy seo-content article-plan semantic:blog-outline intent:plan-article output:outline ai-blog-outline-generator AI Blog Outline Generator bailian qwen dashscope llm ai model ai agent paid ai api blog-outline content-strategy seo-content article-plan semantic:blog-outline intent:plan-article output:outline Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs builds blog outlines, section briefs, intros, faqs, and seo angles from a topic. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-blog-outline-generator","aliases":["AI Blog Outline Generator","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","blog-outline","content-strategy","seo-content","article-plan","semantic:blog-outline","intent:plan-article","output:outline","ai-blog-outline-generator","dashscope","ai model","ai agent","paid ai api","ai_blog_outline_generator","/api/tools/ai-blog-outline-generator"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs builds blog outlines, section briefs, intros, faqs, and seo angles from a topic.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-blog-outline-generator once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-blog-outline-generator\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"topic is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":77,"matchTerms":["ai","seo"],"why":"Matched ai, seo for \"AI Blog Outline Generator\". Price is USD 0.01 per policy bailian-qwen-standard.","whyMatched":"Matched ai, seo for \"AI Blog Outline Generator\". Price is USD 0.01 per policy bailian-qwen-standard."},{"id":"ai-task-planner","canonicalId":"ai-task-planner","name":"AI Task Planner","displayName":"AI Task Planner","description":"Turns a goal, constraints, and available context into an execution plan for AI agents. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Turns a goal, constraints, and available context into an execution plan for AI agents. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-task-planner","AI Task Planner","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","planning","agent-workflow","task-decomposition","next-actions","semantic:task-planning","intent:agent-plan","output:steps"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs turns a goal, constraints, and available context into an execution plan for ai agents.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","planning","agent-workflow","task-decomposition","next-actions","semantic:task-planning","intent:agent-plan","output:steps"],"method":"POST","endpoint":"/api/tools/ai-task-planner","endpointAliases":["/api/tools/ai-task-planner"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"goal":{"description":"Required input field goal.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["goal"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"goal":"Example goal."},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-task-planner","status":"ok"},"pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":14,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:19:11Z"},"discovery":{"toolName":"ai_task_planner","searchText":"ai-task-planner AI Task Planner Turns a goal, constraints, and available context into an execution plan for AI agents. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Turns a goal, constraints, and available context into an execution plan for AI agents. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service planning agent-workflow task-decomposition next-actions semantic:task-planning intent:agent-plan output:steps ai-task-planner AI Task Planner bailian qwen dashscope llm ai model ai agent paid ai api planning agent-workflow task-decomposition next-actions semantic:task-planning intent:agent-plan output:steps Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs turns a goal, constraints, and available context into an execution plan for ai agents. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-task-planner","aliases":["AI Task Planner","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","planning","agent-workflow","task-decomposition","next-actions","semantic:task-planning","intent:agent-plan","output:steps","ai-task-planner","dashscope","ai model","ai agent","paid ai api","ai_task_planner","/api/tools/ai-task-planner"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs turns a goal, constraints, and available context into an execution plan for ai agents.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-task-planner once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-task-planner\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"goal is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":54,"matchTerms":["ai"],"why":"Matched ai for \"AI Task Planner\". Price is USD 0.01 per policy bailian-qwen-standard.","whyMatched":"Matched ai for \"AI Task Planner\". Price is USD 0.01 per policy bailian-qwen-standard."},{"id":"ai-api-contract-designer","canonicalId":"ai-api-contract-designer","name":"AI API Contract Designer","displayName":"AI API Contract Designer","description":"Designs JSON input/output schemas and invocation guidance for a desired AI/Agent service. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Designs JSON input/output schemas and invocation guidance for a desired AI/Agent service. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-api-contract-designer","AI API Contract Designer","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","api-design","json-schema","service-contract","agent-tools","schema-generation","semantic:api-contract","intent:tool-design","output:schemas"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs designs json input/output schemas and invocation guidance for a desired ai/agent service.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","api-design","json-schema","service-contract","agent-tools","schema-generation","semantic:api-contract","intent:tool-design","output:schemas"],"method":"POST","endpoint":"/api/tools/ai-api-contract-designer","endpointAliases":["/api/tools/ai-api-contract-designer"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"service_goal":{"description":"Required input field service_goal.","type":"string"}},"required":["service_goal"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"service_goal":"Example service goal."},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-api-contract-designer","status":"ok"},"pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":18,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:20:35Z"},"discovery":{"toolName":"ai_api_contract_designer","searchText":"ai-api-contract-designer AI API Contract Designer Designs JSON input/output schemas and invocation guidance for a desired AI/Agent service. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Designs JSON input/output schemas and invocation guidance for a desired AI/Agent service. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service api-design json-schema service-contract agent-tools schema-generation semantic:api-contract intent:tool-design output:schemas ai-api-contract-designer AI API Contract Designer bailian qwen dashscope llm ai model ai agent paid ai api api-design json-schema service-contract agent-tools schema-generation semantic:api-contract intent:tool-design output:schemas Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs designs json input/output schemas and invocation guidance for a desired ai/agent service. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-api-contract-designer","aliases":["AI API Contract Designer","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","api-design","json-schema","service-contract","agent-tools","schema-generation","semantic:api-contract","intent:tool-design","output:schemas","ai-api-contract-designer","dashscope","ai model","ai agent","paid ai api","ai_api_contract_designer","/api/tools/ai-api-contract-designer"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs designs json input/output schemas and invocation guidance for a desired ai/agent service.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-api-contract-designer once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-api-contract-designer\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"service_goal is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":54,"matchTerms":["ai"],"why":"Matched ai for \"AI API Contract Designer\". Price is USD 0.01 per policy bailian-qwen-standard.","whyMatched":"Matched ai for \"AI API Contract Designer\". Price is USD 0.01 per policy bailian-qwen-standard."},{"id":"ai-code-explainer","canonicalId":"ai-code-explainer","name":"AI Code Explainer","displayName":"AI Code Explainer","description":"Explains code behavior, data flow, edge cases, and refactoring opportunities. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Explains code behavior, data flow, edge cases, and refactoring opportunities. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-code-explainer","AI Code Explainer","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","code-explanation","developer-tools","debugging","refactoring","semantic:code-explainer","intent:explain-code","output:explanation"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs explains code behavior, data flow, edge cases, and refactoring opportunities.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","code-explanation","developer-tools","debugging","refactoring","semantic:code-explainer","intent:explain-code","output:explanation"],"method":"POST","endpoint":"/api/tools/ai-code-explainer","endpointAliases":["/api/tools/ai-code-explainer"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"code":{"description":"Required input field code.","type":"string"},"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["code"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"code":"func add(a, b int) int { return a + b }"},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-code-explainer","status":"ok"},"pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":11,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:18:59Z"},"discovery":{"toolName":"ai_code_explainer","searchText":"ai-code-explainer AI Code Explainer Explains code behavior, data flow, edge cases, and refactoring opportunities. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Explains code behavior, data flow, edge cases, and refactoring opportunities. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service code-explanation developer-tools debugging refactoring semantic:code-explainer intent:explain-code output:explanation ai-code-explainer AI Code Explainer bailian qwen dashscope llm ai model ai agent paid ai api code-explanation developer-tools debugging refactoring semantic:code-explainer intent:explain-code output:explanation Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs explains code behavior, data flow, edge cases, and refactoring opportunities. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-code-explainer","aliases":["AI Code Explainer","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","code-explanation","developer-tools","debugging","refactoring","semantic:code-explainer","intent:explain-code","output:explanation","ai-code-explainer","dashscope","ai model","ai agent","paid ai api","ai_code_explainer","/api/tools/ai-code-explainer"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs explains code behavior, data flow, edge cases, and refactoring opportunities.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-code-explainer once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-code-explainer\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"code is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":44,"matchTerms":["ai"],"why":"Matched ai for \"AI Code Explainer\". Price is USD 0.005 per policy bailian-qwen-light.","whyMatched":"Matched ai for \"AI Code Explainer\". Price is USD 0.005 per policy bailian-qwen-light."},{"id":"ai-regex-generator","canonicalId":"ai-regex-generator","name":"AI Regex Generator","displayName":"AI Regex Generator","description":"Generates regular expressions with examples, edge cases, and implementation notes. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Generates regular expressions with examples, edge cases, and implementation notes. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-regex-generator","AI Regex Generator","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","regex","pattern-matching","validation","developer-tools","semantic:regex-generator","intent:generate-regex","output:regex"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs generates regular expressions with examples, edge cases, and implementation notes.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","regex","pattern-matching","validation","developer-tools","semantic:regex-generator","intent:generate-regex","output:regex"],"method":"POST","endpoint":"/api/tools/ai-regex-generator","endpointAliases":["/api/tools/ai-regex-generator"],"inputTypes":["object","string","array"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"match_examples":{"description":"Required input field match_examples.","items":{"type":"string"},"type":"array"}},"required":["match_examples"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"match_examples":["INV-2026-001","ORD-402"]},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-regex-generator","status":"ok"},"pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":15,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:22:51Z"},"discovery":{"toolName":"ai_regex_generator","searchText":"ai-regex-generator AI Regex Generator Generates regular expressions with examples, edge cases, and implementation notes. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Generates regular expressions with examples, edge cases, and implementation notes. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string array object string paid x402 usdc base bailian qwen llm ai-model model-service regex pattern-matching validation developer-tools semantic:regex-generator intent:generate-regex output:regex ai-regex-generator AI Regex Generator bailian qwen dashscope llm ai model ai agent paid ai api regex pattern-matching validation developer-tools semantic:regex-generator intent:generate-regex output:regex Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs generates regular expressions with examples, edge cases, and implementation notes. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-regex-generator","aliases":["AI Regex Generator","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","regex","pattern-matching","validation","developer-tools","semantic:regex-generator","intent:generate-regex","output:regex","ai-regex-generator","dashscope","ai model","ai agent","paid ai api","ai_regex_generator","/api/tools/ai-regex-generator"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs generates regular expressions with examples, edge cases, and implementation notes.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-regex-generator once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-regex-generator\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"match_examples is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":44,"matchTerms":["ai"],"why":"Matched ai for \"AI Regex Generator\". Price is USD 0.005 per policy bailian-qwen-light.","whyMatched":"Matched ai for \"AI Regex Generator\". Price is USD 0.005 per policy bailian-qwen-light."},{"id":"ai-intent-classifier","canonicalId":"ai-intent-classifier","name":"AI Intent Classifier","displayName":"AI Intent Classifier","description":"Classifies user text into intents, entities, urgency, routing hints, and next actions. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Classifies user text into intents, entities, urgency, routing hints, and next actions. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-intent-classifier","AI Intent Classifier","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","classification","routing","intent","entities","sentiment","support","semantic:intent-classification","output:labels"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs classifies user text into intents, entities, urgency, routing hints, and next actions.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","classification","routing","intent","entities","sentiment","support","semantic:intent-classification","output:labels"],"method":"POST","endpoint":"/api/tools/ai-intent-classifier","endpointAliases":["/api/tools/ai-intent-classifier"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"text":{"description":"Required input field text.","type":"string"}},"required":["text"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"text":"The customer asked for an OCR API with HTTP 402 payment support."},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-intent-classifier","status":"ok"},"pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":17,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:18:58Z"},"discovery":{"toolName":"ai_intent_classifier","searchText":"ai-intent-classifier AI Intent Classifier Classifies user text into intents, entities, urgency, routing hints, and next actions. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Classifies user text into intents, entities, urgency, routing hints, and next actions. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service classification routing intent entities sentiment support semantic:intent-classification output:labels ai-intent-classifier AI Intent Classifier bailian qwen dashscope llm ai model ai agent paid ai api classification routing intent entities sentiment support semantic:intent-classification output:labels Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs classifies user text into intents, entities, urgency, routing hints, and next actions. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-intent-classifier","aliases":["AI Intent Classifier","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","classification","routing","intent","entities","sentiment","support","semantic:intent-classification","output:labels","ai-intent-classifier","dashscope","ai model","ai agent","paid ai api","ai_intent_classifier","/api/tools/ai-intent-classifier"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs classifies user text into intents, entities, urgency, routing hints, and next actions.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-intent-classifier once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-intent-classifier\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"text is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":44,"matchTerms":["ai"],"why":"Matched ai for \"AI Intent Classifier\". Price is USD 0.005 per policy bailian-qwen-light.","whyMatched":"Matched ai for \"AI Intent Classifier\". Price is USD 0.005 per policy bailian-qwen-light."},{"id":"ai-general-answer","canonicalId":"ai-general-answer","name":"AI General Answer","displayName":"AI General Answer","description":"Answers a supplied question with concise reasoning, assumptions, caveats, and next steps. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Answers a supplied question with concise reasoning, assumptions, caveats, and next steps. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-general-answer","AI General Answer","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","question-answering","qa","reasoning","assistant","semantic:general-answer","intent:answer-question","output:answer"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs answers a supplied question with concise reasoning, assumptions, caveats, and next steps.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","question-answering","qa","reasoning","assistant","semantic:general-answer","intent:answer-question","output:answer"],"method":"POST","endpoint":"/api/tools/ai-general-answer","endpointAliases":["/api/tools/ai-general-answer"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"question":{"description":"Required input field question.","type":"string"}},"required":["question"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"question":"What is the best next step?"},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-general-answer","status":"ok"},"pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":19,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:19:07Z"},"discovery":{"toolName":"ai_general_answer","searchText":"ai-general-answer AI General Answer Answers a supplied question with concise reasoning, assumptions, caveats, and next steps. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Answers a supplied question with concise reasoning, assumptions, caveats, and next steps. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service question-answering qa reasoning assistant semantic:general-answer intent:answer-question output:answer ai-general-answer AI General Answer bailian qwen dashscope llm ai model ai agent paid ai api question-answering qa reasoning assistant semantic:general-answer intent:answer-question output:answer Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs answers a supplied question with concise reasoning, assumptions, caveats, and next steps. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-general-answer","aliases":["AI General Answer","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","question-answering","qa","reasoning","assistant","semantic:general-answer","intent:answer-question","output:answer","ai-general-answer","dashscope","ai model","ai agent","paid ai api","ai_general_answer","/api/tools/ai-general-answer"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs answers a supplied question with concise reasoning, assumptions, caveats, and next steps.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-general-answer once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-general-answer\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"question is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":44,"matchTerms":["ai"],"why":"Matched ai for \"AI General Answer\". Price is USD 0.005 per policy bailian-qwen-light.","whyMatched":"Matched ai for \"AI General Answer\". Price is USD 0.005 per policy bailian-qwen-light."},{"id":"ai-json-repair","canonicalId":"ai-json-repair","name":"AI JSON Repair","displayName":"AI JSON Repair","description":"Repairs malformed JSON-like text and reports corrections, validation errors, and normalized output. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Repairs malformed JSON-like text and reports corrections, validation errors, and normalized output. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-json-repair","AI JSON Repair","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","json","json-repair","validation","normalization","developer-tools","semantic:json-repair","intent:fix-json","output:valid-json"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs repairs malformed json-like text and reports corrections, validation errors, and normalized output.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","json","json-repair","validation","normalization","developer-tools","semantic:json-repair","intent:fix-json","output:valid-json"],"method":"POST","endpoint":"/api/tools/ai-json-repair","endpointAliases":["/api/tools/ai-json-repair"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"raw":{"description":"Required input field raw.","type":"string"}},"required":["raw"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"raw":"Example raw."},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-json-repair","status":"ok"},"pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":20,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:25:19Z"},"discovery":{"toolName":"ai_json_repair","searchText":"ai-json-repair AI JSON Repair Repairs malformed JSON-like text and reports corrections, validation errors, and normalized output. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Repairs malformed JSON-like text and reports corrections, validation errors, and normalized output. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service json json-repair validation normalization developer-tools semantic:json-repair intent:fix-json output:valid-json ai-json-repair AI JSON Repair bailian qwen dashscope llm ai model ai agent paid ai api json json-repair validation normalization developer-tools semantic:json-repair intent:fix-json output:valid-json Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs repairs malformed json-like text and reports corrections, validation errors, and normalized output. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-json-repair","aliases":["AI JSON Repair","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","json","json-repair","validation","normalization","developer-tools","semantic:json-repair","intent:fix-json","output:valid-json","ai-json-repair","dashscope","ai model","ai agent","paid ai api","ai_json_repair","/api/tools/ai-json-repair"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs repairs malformed json-like text and reports corrections, validation errors, and normalized output.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-json-repair once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-json-repair\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"raw is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":44,"matchTerms":["ai"],"why":"Matched ai for \"AI JSON Repair\". Price is USD 0.005 per policy bailian-qwen-light.","whyMatched":"Matched ai for \"AI JSON Repair\". Price is USD 0.005 per policy bailian-qwen-light."},{"id":"ai-copywriter","canonicalId":"ai-copywriter","name":"AI Copywriter","displayName":"AI Copywriter","description":"Generates polished marketing, product, or website copy from a brief. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","descriptionForModel":"Generates polished marketing, product, or website copy from a brief. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","category":"ai-models","keywords":["ai-copywriter","AI Copywriter","bailian","qwen","dashscope","llm","ai model","ai agent","paid ai api","copywriting","marketing","landing-page","value-proposition","cta","semantic:copywriting","intent:write-copy","output:copy-variants"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs generates polished marketing, product, or website copy from a brief.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","copywriting","marketing","landing-page","value-proposition","cta","semantic:copywriting","intent:write-copy","output:copy-variants"],"method":"POST","endpoint":"/api/tools/ai-copywriter","endpointAliases":["/api/tools/ai-copywriter"],"inputTypes":["object","string"],"outputTypes":["object","string"],"inputSchema":{"additionalProperties":true,"properties":{"brief":{"description":"Required input field brief.","type":"string"},"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["brief"],"type":"object"},"outputSchema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"exampleRequest":{"brief":"Example brief."},"exampleResponse":{"model":"qwen-plus","provider":"aliyun-bailian","result":{"summary":"Example structured result."},"service_id":"ai-copywriter","status":"ok"},"pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"payment":{"providerId":"x402-base-usdc","provider":"x402_facilitator"},"quality":{"qualityScore":43,"healthStatus":"","latencyMs":11,"successRate":1,"callCount":3,"executionCount":3,"successCount":3,"errorCount":0,"paymentRequireds":0,"lastCallAt":"2026-07-21T21:20:38Z"},"discovery":{"toolName":"ai_copywriter","searchText":"ai-copywriter AI Copywriter Generates polished marketing, product, or website copy from a brief. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. Generates polished marketing, product, or website copy from a brief. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution. ai-models object string object string paid x402 usdc base bailian qwen llm ai-model model-service copywriting marketing landing-page value-proposition cta semantic:copywriting intent:write-copy output:copy-variants ai-copywriter AI Copywriter bailian qwen dashscope llm ai model ai agent paid ai api copywriting marketing landing-page value-proposition cta semantic:copywriting intent:write-copy output:copy-variants Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API. Use this service when an AI agent needs generates polished marketing, product, or website copy from a brief. Return machine-readable JSON for downstream automation. Does not browse live web data; provide source context explicitly. Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server. /api/tools/ai-copywriter","aliases":["AI Copywriter","ai-models","paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","copywriting","marketing","landing-page","value-proposition","cta","semantic:copywriting","intent:write-copy","output:copy-variants","ai-copywriter","dashscope","ai model","ai agent","paid ai api","ai_copywriter","/api/tools/ai-copywriter"],"localeHints":["en"],"useCases":["Call Alibaba Cloud Bailian/Qwen through a paid HTTP 402 API.","Use this service when an AI agent needs generates polished marketing, product, or website copy from a brief.","Return machine-readable JSON for downstream automation."],"limitations":["Does not browse live web data; provide source context explicitly.","Requires BAILIAN_API_KEY or DASHSCOPE_API_KEY on the server."],"paymentFlow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}},"paymentHint":"Call POST /api/tools/ai-copywriter once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId=\"ai-copywriter\". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.","retryHint":"If the service returns HTTP 402, pay one accepts[] requirement, then retry with PAYMENT-SIGNATURE for Base USDC, X402-Guarantee for Xiao Coin, or X-Payment-Token: payment.token for legacy token flow.","requiredState":"published, enabled"},"complexity":"moderate","typicalResponseTime":"3s","cacheable":false,"idempotent":true,"outputFormat":"json","requiredContext":["task input","bailian-api-key"],"errorExamples":[{"input":{},"error":"brief is required","statusCode":400}],"sla":{"uptime":"99.5%","maxLatency":"45000ms"},"matchScore":44,"matchTerms":["ai"],"why":"Matched ai for \"AI Copywriter\". Price is USD 0.01 per policy bailian-qwen-standard.","whyMatched":"Matched ai for \"AI Copywriter\". Price is USD 0.01 per policy bailian-qwen-standard."}],"agents":[{"id":"ai-seo-keyword-clusterer","name":"AI SEO Keyword Clusterer","description":"Clusters keywords by intent, page type, priority, and content angle. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-seo-keyword-clusterer","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"keywords":{"description":"Required input field keywords.","items":{"type":"string"},"type":"array"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["keywords"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","seo","keyword-clustering","search-intent","content-plan","semantic:seo-keywords","intent:cluster-keywords","output:clusters"],"category":"ai-models"},{"id":"ai-blog-outline-generator","name":"AI Blog Outline Generator","description":"Builds blog outlines, section briefs, intros, FAQs, and SEO angles from a topic. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-blog-outline-generator","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"topic":{"description":"Required input field topic.","type":"string"}},"required":["topic"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","blog-outline","content-strategy","seo-content","article-plan","semantic:blog-outline","intent:plan-article","output:outline"],"category":"ai-models"},{"id":"ai-task-planner","name":"AI Task Planner","description":"Turns a goal, constraints, and available context into an execution plan for AI agents. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-task-planner","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"goal":{"description":"Required input field goal.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["goal"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","planning","agent-workflow","task-decomposition","next-actions","semantic:task-planning","intent:agent-plan","output:steps"],"category":"ai-models"},{"id":"ai-api-contract-designer","name":"AI API Contract Designer","description":"Designs JSON input/output schemas and invocation guidance for a desired AI/Agent service. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-api-contract-designer","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"service_goal":{"description":"Required input field service_goal.","type":"string"}},"required":["service_goal"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","api-design","json-schema","service-contract","agent-tools","schema-generation","semantic:api-contract","intent:tool-design","output:schemas"],"category":"ai-models"},{"id":"ai-code-explainer","name":"AI Code Explainer","description":"Explains code behavior, data flow, edge cases, and refactoring opportunities. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-code-explainer","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"code":{"description":"Required input field code.","type":"string"},"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["code"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","code-explanation","developer-tools","debugging","refactoring","semantic:code-explainer","intent:explain-code","output:explanation"],"category":"ai-models"},{"id":"ai-regex-generator","name":"AI Regex Generator","description":"Generates regular expressions with examples, edge cases, and implementation notes. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-regex-generator","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"match_examples":{"description":"Required input field match_examples.","items":{"type":"string"},"type":"array"}},"required":["match_examples"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","regex","pattern-matching","validation","developer-tools","semantic:regex-generator","intent:generate-regex","output:regex"],"category":"ai-models"},{"id":"ai-intent-classifier","name":"AI Intent Classifier","description":"Classifies user text into intents, entities, urgency, routing hints, and next actions. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-intent-classifier","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"text":{"description":"Required input field text.","type":"string"}},"required":["text"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","classification","routing","intent","entities","sentiment","support","semantic:intent-classification","output:labels"],"category":"ai-models"},{"id":"ai-general-answer","name":"AI General Answer","description":"Answers a supplied question with concise reasoning, assumptions, caveats, and next steps. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-general-answer","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"question":{"description":"Required input field question.","type":"string"}},"required":["question"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","question-answering","qa","reasoning","assistant","semantic:general-answer","intent:answer-question","output:answer"],"category":"ai-models"},{"id":"ai-json-repair","name":"AI JSON Repair","description":"Repairs malformed JSON-like text and reports corrections, validation errors, and normalized output. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-json-repair","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":0,"amountMicros":5000,"currency":"USD","policyId":"bailian-qwen-light","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"},"raw":{"description":"Required input field raw.","type":"string"}},"required":["raw"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","json","json-repair","validation","normalization","developer-tools","semantic:json-repair","intent:fix-json","output:valid-json"],"category":"ai-models"},{"id":"ai-copywriter","name":"AI Copywriter","description":"Generates polished marketing, product, or website copy from a brief. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.","endpoint":"/api/tools/ai-copywriter","method":"POST","auth_type":"api_key + x402_facilitator http_402","billing_method":"per_call","pricing":{"amountCents":1,"amountMicros":10000,"currency":"USD","policyId":"bailian-qwen-standard","settleMode":"settle_first","billingMode":"per_call","maxCalls":1,"allowReuse":false,"bindClient":true},"input_schema":{"additionalProperties":true,"properties":{"brief":{"description":"Required input field brief.","type":"string"},"context":{"description":"Optional supporting context, source text, constraints, or background.","type":"string"},"language":{"description":"Optional output language or locale.","type":"string"}},"required":["brief"],"type":"object"},"output_schema":{"additionalProperties":true,"properties":{"model":{"type":"string"},"provider":{"type":"string"},"result":{"additionalProperties":true,"type":"object"},"service_id":{"type":"string"},"status":{"type":"string"},"upstream_id":{"type":"string"},"upstream_request_id":{"type":"string"},"usage":{"additionalProperties":true,"type":"object"}},"required":["status","service_id","result"],"type":"object"},"tags":["paid","x402","usdc","base","bailian","qwen","llm","ai-model","model-service","copywriting","marketing","landing-page","value-proposition","cta","semantic:copywriting","intent:write-copy","output:copy-variants"],"category":"ai-models"}],"demandCapture":{"queryRecorded":true,"demandBearing":true,"status":"published-and-planned-candidates","recommendedAction":"compare-published-services-and-request-missing-fit","message":"Published services and planned API candidates both matched. Prefer a published callable service when it fits; otherwise request early access for the planned candidate that better matches the task.","matchedPlannedServices":[{"id":"seo-search-api","name":"SEO Search API","category":"营销工具","availability":"可新增","status":"planned / early-access","servicePage":"https://x402vip.com/services/seo-search-api","llmsText":"https://x402vip.com/services/seo-search-api/llms.txt","requestAccessUrl":"https://x402vip.com/api/planned-services/request-access","candidateApiPaths":["https://x402vip.com/api/seo-search","https://x402vip.com/api/seo/search","https://x402vip.com/api/tools/seo-search","https://x402vip.com/api/tools/seo-search-api"],"keywords":["seo-search-api","seo-search","seo search","SEO Search API","SEO Search","Search SEO","seo","search seo","seo search api","search api seo","seo find","find seo","seo lookup","lookup seo","seo 检索","检索 seo","seo 搜索","搜索 seo","search optimization","search optimization search","search search optimization","search optimization search api","search api search optimization","search optimization find","find search optimization","search optimization lookup","lookup search optimization","search optimization 检索","检索 search optimization","search optimization 搜索","搜索 search optimization","SEO","SEO search","search SEO","SEO search api","search api SEO","SEO find","find SEO","SEO lookup","lookup SEO","SEO 检索","检索 SEO","SEO 搜索","搜索 SEO"],"matchRank":1,"matchReason":"Search query matched this planned demand candidate; request-access and candidate path visits are aggregated for launch prioritization."},{"id":"seo-extraction-api","name":"SEO Extraction API","category":"营销工具","availability":"可新增","status":"planned / early-access","servicePage":"https://x402vip.com/services/seo-extraction-api","llmsText":"https://x402vip.com/services/seo-extraction-api/llms.txt","requestAccessUrl":"https://x402vip.com/api/planned-services/request-access","candidateApiPaths":["https://x402vip.com/api/seo-extraction","https://x402vip.com/api/seo/extraction","https://x402vip.com/api/tools/seo-extraction","https://x402vip.com/api/tools/seo-extraction-api"],"keywords":["seo-extraction-api","seo-extraction","seo extraction","SEO Extraction API","SEO Extraction","Extraction SEO","seo","extraction seo","seo extract","extract seo","seo data extraction","data extraction seo","seo 提取","提取 seo","seo 抽取","抽取 seo","search optimization","search optimization extraction","extraction search optimization","search optimization extract","extract search optimization","search optimization data extraction","data extraction search optimization","search optimization 提取","提取 search optimization","search optimization 抽取","抽取 search optimization","SEO","SEO extraction","extraction SEO","SEO extract","extract SEO","SEO data extraction","data extraction SEO","SEO 提取","提取 SEO","SEO 抽取","抽取 SEO"],"matchRank":2,"matchReason":"Search query matched this planned demand candidate; request-access and candidate path visits are aggregated for launch prioritization."},{"id":"seo-parsing-api","name":"SEO Parsing API","category":"营销工具","availability":"可新增","status":"planned / early-access","servicePage":"https://x402vip.com/services/seo-parsing-api","llmsText":"https://x402vip.com/services/seo-parsing-api/llms.txt","requestAccessUrl":"https://x402vip.com/api/planned-services/request-access","candidateApiPaths":["https://x402vip.com/api/seo-parsing","https://x402vip.com/api/seo/parsing","https://x402vip.com/api/tools/seo-parsing","https://x402vip.com/api/tools/seo-parsing-api"],"keywords":["seo-parsing-api","seo-parsing","seo parsing","SEO Parsing API","SEO Parsing","Parsing SEO","seo","parsing seo","seo parse","parse seo","seo parser","parser seo","seo structured parsing","structured parsing seo","seo 解析","解析 seo","search optimization","search optimization parsing","parsing search optimization","search optimization parse","parse search optimization","search optimization parser","parser search optimization","search optimization structured parsing","structured parsing search optimization","search optimization 解析","解析 search optimization","SEO","SEO parsing","parsing SEO","SEO parse","parse SEO","SEO parser","parser SEO","SEO structured parsing","structured parsing SEO","SEO 解析","解析 SEO"],"matchRank":3,"matchReason":"Search query matched this planned demand candidate; request-access and candidate path visits are aggregated for launch prioritization."},{"id":"seo-summarization-api","name":"SEO Summarization API","category":"营销工具","availability":"可新增","status":"planned / early-access","servicePage":"https://x402vip.com/services/seo-summarization-api","llmsText":"https://x402vip.com/services/seo-summarization-api/llms.txt","requestAccessUrl":"https://x402vip.com/api/planned-services/request-access","candidateApiPaths":["https://x402vip.com/api/seo-summarization","https://x402vip.com/api/seo/summarization","https://x402vip.com/api/tools/seo-summarization","https://x402vip.com/api/tools/seo-summarization-api"],"keywords":["seo-summarization-api","seo-summarization","seo summarization","SEO Summarization API","SEO Summarization","Summarization SEO","seo","summarization seo","seo summarize","summarize seo","seo summary","summary seo","seo 摘要","摘要 seo","seo 总结","总结 seo","search optimization","search optimization summarization","summarization search optimization","search optimization summarize","summarize search optimization","search optimization summary","summary search optimization","search optimization 摘要","摘要 search optimization","search optimization 总结","总结 search optimization","SEO","SEO summarization","summarization SEO","SEO summarize","summarize SEO","SEO summary","summary SEO","SEO 摘要","摘要 SEO","SEO 总结","总结 SEO"],"matchRank":4,"matchReason":"Search query matched this planned demand candidate; request-access and candidate path visits are aggregated for launch prioritization."}],"requestAccessUrl":"https://x402vip.com/api/planned-services/request-access","requestAccessBody":{"query":"ai-seo-keyword-clusterer","serviceId":"seo-search-api","task":"Describe the exact input data, desired output schema, freshness, volume, budget, and whether a published service failed to fit.","useCase":"AI/Agent searched for: ai-seo-keyword-clusterer"},"plannedCatalogUrl":"https://x402vip.com/api/demand-capture","notes":["Every non-admin /api/catalog/search?q=... request is appended to natural_traffic.jsonl and aggregated in /api/admin/demand-intents.","Submitting requestAccessBody adds a stronger commercial/early-access signal than search alone.","Planned API candidates are not callable yet; use /api/catalog services for currently callable paid APIs."]},"nextActions":["Inspect services[].inputSchema, services[].outputSchema, services[].pricing, and services[].discovery.paymentFlow.","Call the selected /api/tools/* endpoint once without payment to receive HTTP 402 payment requirements, then retry after payment.","If services are missing or too broad, inspect demandCapture.matchedPlannedServices.","POST demandCapture.requestAccessBody to demandCapture.requestAccessUrl to record a stronger early-access demand signal."],"payment":{"paymentHeader":"X-Payment-Token","createPayment":"/api/payments","verifyPayment":"/api/payments/{paymentId}","token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]},"flow":{"type":"http-402","createPayment":{"method":"POST","url":"/api/payments","bodySchema":{"properties":{"providerId":{"type":"string"},"serviceId":{"description":"Use the canonical service id from the catalog. Legacy internal ids remain accepted for backward compatibility.","type":"string"}},"required":["serviceId"],"type":"object"},"responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"verifyPayment":{"method":"GET","url":"/api/payments/{paymentId}","responseSchema":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"}},"token":{"header":"X-Payment-Token","mcpArgument":"paymentToken","httpUsage":"Send the paid token in the X-Payment-Token request header when calling /api/tools/*.","mcpUsage":"Pass the paid token as the paymentToken argument when calling the MCP tool."},"requiredResponse":{"status":402,"contentType":"application/json","headers":{"PAYMENT-REQUIRED":"base64/json x402PaymentRequired","PAYMENT-SIGNATURE":"base64/json x402 Base USDC payment payload","X-Payment-Required":"true","X-Payment-Token":"payment.token","X402-Guarantee":"base64url/json Xiao Coin escrow guarantee"},"bodySchema":{"properties":{"accepts":{"items":{"type":"object"},"type":"array"},"error":{"type":"string"},"extensions":{"type":"object"},"payment":{"properties":{"amountCents":{"type":"integer"},"amountMicros":{"type":"integer"},"billingMode":{"type":"string"},"clientId":{"type":"string"},"currency":{"type":"string"},"expiresAt":{"format":"date-time","type":"string"},"internalServiceId":{"description":"Legacy internal service id, included only for backward compatibility.","type":"string"},"maxCalls":{"type":"integer"},"paidAt":{"format":"date-time","type":"string"},"payTo":{"type":"string"},"paymentId":{"type":"string"},"provider":{"type":"string"},"providerId":{"type":"string"},"remainingCalls":{"type":"integer"},"serviceId":{"description":"Canonical public service id.","type":"string"},"status":{"type":"string"},"token":{"type":"string"},"usedCalls":{"type":"integer"}},"type":"object"},"paymentFlow":{"type":"object"},"resource":{"type":"object"},"retry":{"type":"object"},"type":{"const":"payment_required","type":"string"},"x402Version":{"type":"integer"}},"required":["type","error","payment","paymentFlow","retry"],"type":"object"},"x402Version":2,"x402Header":"PAYMENT-REQUIRED","paymentAsset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","paymentNetwork":"eip155:8453"},"retry":{"when":"Retry after paying one accepts[] requirement with Base USDC x402, Xiao Coin AI wallet escrow, or after payment.status is paid and the legacy token has remaining calls.","http":["Preferred x402 flow: call the paid /api/tools/* endpoint once and read accepts[] from the HTTP 402 response body or PAYMENT-REQUIRED header.","Pay one accepts[] requirement with an x402-compatible wallet/facilitator on network eip155:8453 using Base USDC.","Retry the exact same request with PAYMENT-SIGNATURE set to the base64 JSON x402 payment payload.","XIAO flow: pay the accepts[] requirement where asset=XIAO with the AI wallet, then retry the exact same request with X402-Guarantee set to the base64url guarantee JSON.","Legacy token flow: POST /api/payments with serviceId, complete/verify payment, then retry with X-Payment-Token set to payment.token."],"mcp":["Call the tool without paymentToken to receive payment_required structuredContent.","Preferred x402 clients should pay the accepts[] requirement and call the underlying HTTP endpoint with PAYMENT-SIGNATURE.","XIAO-capable agents should pay the XIAO accepts[] requirement through the AI wallet and call the underlying HTTP endpoint with X402-Guarantee.","Legacy MCP clients can complete or verify payment.paymentId, then call the same MCP tool again with paymentToken set to payment.token."],"examples":{"http402":["curl -i https://example.com/api/tools/timestamp","Read accepts[0].network=eip155:8453, accepts[0].asset=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, accepts[0].amount, and accepts[0].payTo.","curl -H 'PAYMENT-SIGNATURE: \u003cbase64-json-x402-payment-payload\u003e' https://example.com/api/tools/timestamp"],"legacyToken":["curl -X POST https://example.com/api/payments -H 'Content-Type: application/json' -d '{\"serviceId\":\"timestamp\"}'","curl -H 'X-Payment-Token: \u003cpayment.token\u003e' https://example.com/api/tools/timestamp"],"mcp":["Call tool timestamp with no paymentToken.","After payment is complete, call timestamp again with paymentToken=\u003cpayment.token\u003e."],"xiao":["curl -i https://example.com/api/tools/timestamp","Read the accepts[] entry with asset=XIAO, create an AI wallet guarantee for merchant_id=aivps.lat and merchant_order_id=payment.paymentId.","curl -H 'X402-Guarantee: \u003cbase64url-guarantee-json\u003e' https://example.com/api/tools/timestamp"]},"failures":["payment required","payment token expired","payment token has no remaining calls","api key required","api key is not allowed to call this service"]}}}}
