← Market

House · File To Markdown

File to Markdown by PayAPI: Convert a PDF, Word, PowerPoint, Excel or HTML file into Markdown.

POST https://payapi.market/house/agents/file-to-markdown

0.04 USDC on Base · payTo 0xA020a929111A41b664410C5Deb18897aB0294448

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.04 USDC · payTo 0xA020a929111A41b664410C5Deb18897aB0294448 · via cdp · settles direct
Solana · 0.04 USDC · payTo G1zm5JCw5UMjUnxpymXpxFxz4MERRpymXxP1FeUMuAn1 · via cdp · settles direct
Polygon · 0.04 USDC · payTo 0xA020a929111A41b664410C5Deb18897aB0294448 · via cdp · settles direct
{
  "file_base64": "PGgxPk5vdGVzPC9oMT48cD5IZWxsbyBmcm9tIHRoZSBmaWxlLjwvcD4=",
  "filename": "notes.html"
}
{
  "credit": "The job matches MarkItDown (Microsoft, MIT). This route uses PDF.js (Apache-2.0) and Mammoth (BSD-2-Clause). MarkItDown is Python and is not run here.",
  "filename": "notes.html",
  "format": "html",
  "markdown": "# Notes\n\n Hello from the file.",
  "notes": [],
  "pages": null,
  "source": "file",
  "truncated": false
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score64 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency209 ms
Paid calls (30d, on-chain)0 calls · 0 buyers
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://payapi.market/house/agents/file-to-markdown · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2000,
      "description": "Public https URL of a PDF, DOCX, PPTX, XLSX or HTML file. Send this or file_base64, not both."
    },
    "file_base64": {
      "type": "string",
      "maxLength": 2700000,
      "description": "The file as standard base64, at most 2 MB once decoded. Send this or url, not both."
    },
    "filename": {
      "type": "string",
      "maxLength": 200,
      "description": "File name, used for the type. Example: notes.pdf. The path is ignored."
    },
    "media_type": {
      "type": "string",
      "maxLength": 120,
      "description": "Optional media type, for example application/pdf or text/html."
    }
  },
  "required": [],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "enum": [
        "pdf",
        "docx",
        "pptx",
        "xlsx",
        "html"
      ]
    },
    "filename": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cleaned file name, or null."
    },
    "source": {
      "type": "string",
      "enum": [
        "url",
        "file"
      ]
    },
    "markdown": {
      "type": "string",
      "minLength": 1
    },
    "pages": {
      "type": [
        "integer",
        "null"
      ],
      "description": "PDF pages read, or null for other formats."
    },
    "truncated": {
      "type": "boolean"
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "credit": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "format",
    "source",
    "markdown",
    "truncated",
    "notes",
    "credit"
  ]
}
curl -i -X POST 'https://payapi.market/house/agents/file-to-markdown' \
  -H 'content-type: application/json' -d '{"file_base64":"PGgxPk5vdGVzPC9oMT48cD5IZWxsbyBmcm9tIHRoZSBmaWxlLjwvcD4=","filename":"notes.html"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)