{
  "x402Version": 2,
  "serviceName": "Convert Guru",
  "description": "Micropayment-enabled file conversion and type detection service for AI agents. Supports x402 exact payments and MPP Tempo charge.",
  "canonicalUrls": {
    "openapi": "https://convert.guru/openapi.json",
    "openapiYaml": "https://convert.guru/openapi.yaml",
    "llmsTxt": "https://convert.guru/llms.txt",
    "agentCard": "https://convert.guru/.well-known/agent-card.json",
    "legacyAgentCard": "https://convert.guru/.well-known/agent.json",
    "oasfRecord": "https://convert.guru/.well-known/agent-oasf.json",
    "trustManifest": "https://convert.guru/.well-known/agent-trust.json",
    "erc8004Agent": "https://convert.guru/.well-known/erc8004-agent.json",
    "erc8004DomainVerification": "https://convert.guru/.well-known/agent-registration.json"
  },
  "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699",
  "paymentAddresses": {
    "evm_payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699",
    "solana_payTo": "8BoQ6DSruSUc3HRgLWCwPmE7qcdDybcTeycmFDtC4UjJ",
    "tempo_payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
  },
  "assets": {
    "USDC": {
      "symbol": "USDC",
      "decimals": 6,
      "networks": {
        "eip155:8453": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "eip155:137": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
        "eip155:42161": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
        "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "tempo:mainnet": "0x20C000000000000000000000b9537d11c60E8b50"
      }
    }
  },
  "qualitySignals": {
    "trustManifest": "https://convert.guru/.well-known/agent-trust.json",
    "settlement": {
      "facilitator": "Coinbase CDP Facilitator",
      "verifyBeforeOriginRequest": true,
      "settleAfterSuccessfulOriginResponse": true,
      "settleSkippedWhenOriginFails": true,
      "bazaarIndexingRequiresSuccessfulSettle": true
    },
    "workflow": {
      "asynchronousConversion": true,
      "freeStatusEndpoint": true,
      "freeDeleteEndpoint": true,
      "failedConversionResultCharge": "0 USDC",
      "resultDownloadTtlSeconds": 3600,
      "maxFileSizeBytes": 41943040
    },
    "receipts": {
      "resultPurchaseReturnsReceipt": true,
      "fields": [
        "protocol",
        "scheme",
        "network",
        "asset",
        "payTo",
        "amount",
        "settlement_status",
        "job_id",
        "input_sha256",
        "output_sha256",
        "mime_type",
        "result_size_bytes",
        "transaction_id",
        "tx_hash",
        "method",
        "intent",
        "payment_receipt"
      ]
    }
  },
  "endpoints": {
    "/api/x402/v1/detect-file-type": {
      "method": "POST",
      "description": "Detect the real type of a file from metadata and first 200 bytes. Identifies common formats such as PDF, DOCX, XLSX, CSV, JPG/JPEG, PNG, WEBP, HEIC, TXT, HTML, MP3, WAV, MP4, AVI, MPEG, and WEBM, as well as about 15,000 other file types.",
      "price": {
        "amount": "0.002000",
        "currency": "USDC",
        "atomic_units": "2000",
        "scheme": "exact"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "eip155:137",
          "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "eip155:42161",
          "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
          "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "payTo": "8BoQ6DSruSUc3HRgLWCwPmE7qcdDybcTeycmFDtC4UjJ"
        }
      ],
      "mppOffers": [
        {
          "protocol": "mpp",
          "method": "tempo",
          "intent": "charge",
          "network": "tempo:mainnet",
          "amount": "2000",
          "currency": "0x20C000000000000000000000b9537d11c60E8b50",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699",
          "price": {
            "amount": "0.002000",
            "currency": "USDC",
            "atomic_units": "2000"
          }
        }
      ]
    },
    "/api/x402/v1/convert-file": {
      "method": "POST",
      "description": "Start an asynchronous file conversion job for AI agents. Supports PDF to DOCX, JPG to PNG, HEIC to JPG, document conversion, image conversion, audio conversion, and video conversion across PDF, DOCX, XLSX, CSV, JPG/JPEG, PNG, WEBP, HEIC, TXT, HTML, MP3, WAV, MP4, AVI, MPEG, and WEBM. Returns a job_id and free status_url.",
      "price": {
        "amount": "0.002000",
        "currency": "USDC",
        "atomic_units": "2000",
        "scheme": "exact"
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "eip155:137",
          "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "eip155:42161",
          "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
          "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "payTo": "8BoQ6DSruSUc3HRgLWCwPmE7qcdDybcTeycmFDtC4UjJ"
        }
      ],
      "mppOffers": [
        {
          "protocol": "mpp",
          "method": "tempo",
          "intent": "charge",
          "network": "tempo:mainnet",
          "amount": "2000",
          "currency": "0x20C000000000000000000000b9537d11c60E8b50",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699",
          "price": {
            "amount": "0.002000",
            "currency": "USDC",
            "atomic_units": "2000"
          }
        }
      ]
    },
    "/api/x402/v1/convert-file/{job_id}/result": {
      "method": "GET",
      "description": "Purchase the finished conversion result with tiered pricing by file size. Returns a short-lived download_url and x402 or MPP payment receipt containing network, asset, payTo, amount, and transaction_id.",
      "price": {
        "mode": "tiered_by_uploaded_file_size",
        "currency": "USDC",
        "tiers": [
          {
            "max_size_bytes": 10485760,
            "amount": "0.020000",
            "atomic_units": "20000"
          },
          {
            "min_size_bytes": 10485761,
            "max_size_bytes": 41943040,
            "amount": "0.040000",
            "atomic_units": "40000"
          }
        ]
      },
      "accepts": [
        {
          "scheme": "exact",
          "network": "eip155:8453",
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "eip155:137",
          "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "eip155:42161",
          "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699"
        },
        {
          "scheme": "exact",
          "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
          "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "payTo": "8BoQ6DSruSUc3HRgLWCwPmE7qcdDybcTeycmFDtC4UjJ"
        }
      ],
      "mppOffers": [
        {
          "protocol": "mpp",
          "method": "tempo",
          "intent": "charge",
          "network": "tempo:mainnet",
          "amount": "20000",
          "currency": "0x20C000000000000000000000b9537d11c60E8b50",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699",
          "tier": "up_to_10mb",
          "price": {
            "mode": "dynamic",
            "amount": "0.020000",
            "currency": "USDC",
            "atomic_units": "20000"
          }
        },
        {
          "protocol": "mpp",
          "method": "tempo",
          "intent": "charge",
          "network": "tempo:mainnet",
          "amount": "40000",
          "currency": "0x20C000000000000000000000b9537d11c60E8b50",
          "payTo": "0x222c4F009c63E24cE9176C0f7f3b64E7Da0f0699",
          "tier": "over_10mb_up_to_40mb",
          "price": {
            "mode": "dynamic",
            "amount": "0.040000",
            "currency": "USDC",
            "atomic_units": "40000"
          }
        }
      ]
    }
  },
  "paymentProtocols": [
    "x402",
    "mpp"
  ],
  "reputation": {
    "erc8004": {
      "status": "registered",
      "primaryAgentId": 55000,
      "primaryAgentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
      "agentURI": "https://convert.guru/.well-known/erc8004-agent.json",
      "domainVerificationUrl": "https://convert.guru/.well-known/agent-registration.json",
      "registrations": [
        {
          "chain": "base",
          "agentId": 55000,
          "agentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
          "status": "registered"
        },
        {
          "chain": "polygon",
          "agentId": 550,
          "agentRegistry": "eip155:137:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
          "status": "registered"
        },
        {
          "chain": "ethereum",
          "agentId": 34350,
          "agentRegistry": "eip155:1:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
          "status": "registered"
        },
        {
          "chain": "tempo",
          "agentId": 124,
          "agentRegistry": "eip155:4217:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
          "status": "registered"
        },
        {
          "chain": "arbitrum",
          "agentId": 1100,
          "agentRegistry": "eip155:42161:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
          "status": "registered"
        },
        {
          "chain": "solana",
          "agentId": "3FWpX76Ztbmvp8mvqxnKRyQ3KwdNyn6jKF4G7L7nxXk4",
          "tokenId": "1447",
          "agentRegistry": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp:8oo4dC4JvBLwy5tGgiH3WwK4B9PWxL9Z4XjA2jzkQMbQ",
          "status": "registered"
        }
      ]
    }
  }
}
