{"status":"ok","service":"mdapi","domain":"mdapi.io","description":"Minimal Data API I/O: a content transformation layer primitive for AI systems. Transforms files and webpages into AI-ready Markdown and structured data, optimized for LLM efficiency and token usage.","version":"1.0.0","endpoints":{"about":"https://mdapi.io/about","conversion":"https://mdapi.io/","openai":"https://mdapi.io/v1/chat/completions","openai_responses":"https://mdapi.io/v1/responses","mcp":"https://mdapi.io/mcp","acp":"https://mdapi.io/acp","a2a":"https://mdapi.io/a2a","health":"https://mdapi.io/health","llms":"https://mdapi.io/llms.txt","llms_full":"https://mdapi.io/llms-full.txt","ai_discovery":"https://mdapi.io/.well-known/ai-discovery.json","agent_discovery":"https://mdapi.io/.well-known/agent.json","a2a_manifest":"https://mdapi.io/.well-known/agent-card.json","acp_manifest":"https://mdapi.io/.well-known/acp.json","x402_manifest":"https://mdapi.io/.well-known/x402.json","openapi_json":"https://mdapi.io/.well-known/openapi.json","openapi_yaml":"https://mdapi.io/.well-known/openapi.yaml","mapi":"https://mdapi.io/.well-known/mapi.md","skill":"https://mdapi.io/.well-known/skill.md","skills_index":"https://mdapi.io/.well-known/skills/index.json","agent_skills_index":"https://mdapi.io/.well-known/agent-skills/index.json","api_catalog":"https://mdapi.io/.well-known/api-catalog","mcp_server_cards":"https://mdapi.io/.well-known/mcp/server-cards.json","plugin_manifest":"https://mdapi.io/.well-known/plugin/plugin.json","agent_plugin_mcp":"https://mdapi.io/.well-known/plugin/mcp.json","agent_plugin_skill":"https://mdapi.io/.well-known/plugin/skills/mdapi-conversion/SKILL.md"},"examples":{"convert_url":"curl 'https://mdapi.io/?input=https://example.com'","convert_with_prompt":"curl 'https://mdapi.io/?input=https://example.com&prompt=Summarize'","convert_post":"curl -X POST -H 'Content-Type: application/json' -d '{\"input\":\"https://example.com\"}' 'https://mdapi.io/'","openai_sdk":"client = OpenAI(base_url='https://mdapi.io/v1', api_key='token')","mcp_rpc":"curl -X POST https://mdapi.io/mcp -H 'Content-Type: application/json' -H 'MCP-Protocol-Version: 2026-07-28' -H 'Mcp-Method: tools/call' -H 'Mcp-Name: mdapi' -d '{\"jsonrpc\":\"2.0\",\"id\":\"1\",\"method\":\"tools/call\",\"params\":{\"name\":\"convert\",\"arguments\":{\"input\":\"https://example.com\"}}}'","acp_rpc":"curl -X POST https://mdapi.io/acp -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":\"1\",\"method\":\"session/new\",\"params\":{}}'","a2a_rpc":"curl -X POST https://mdapi.io/a2a -H 'Content-Type: application/a2a+json' -d '{\"jsonrpc\":\"2.0\",\"id\":\"1\",\"method\":\"SendMessage\",\"params\":{\"message\":{\"messageId\":\"msg_1\",\"parts\":[{\"text\":\"Convert https://example.com\"}]}}}'"},"limits":{"max_file_size":"50 MB","max_url_content":"50 MB","max_text_length":"50,000,000 characters (~50 MB of text)","max_prompt_length":"~470K tokens (the prompt's share of one model call - the 1049K-token context also has to hold the answer)","rate_limit":"10,000 requests per hour","free_tier":"10 conversions a day to one caller, within a quota allocated for the whole service (no token required)","paid_tier":"min $0.01 per conversion (USDC via x402); a wider `capacity` step is charged the price of its own window","token_validity":"1 year"}}