api.gaents.com/v1/jobs/doc-to-markdown
Convert a document to Markdown (MarkItDown) Converts one document (PDF with a text layer, DOCX, PPTX, XLSX, XLS, HTML, CSV, JSON, XML, EPUB, TXT; sent as base64) to Markdown with Microsoft MarkItDown, keeping headings, lists and tables.
POST
https://api.gaents.com/v1/jobs/doc-to-markdownUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.gaents.com/v1/jobs/doc-to-markdown", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"file_b64":"PGgxPkV4YW1wbGU8L2gxPjxwPkhlbGxvIGZyb20gZ2FlbnRzLjwvcD4=","filename":"example.html"}),
});
console.log(await res.json());Example input
{
"file_b64": "PGgxPkV4YW1wbGU8L2gxPjxwPkhlbGxvIGZyb20gZ2FlbnRzLjwvcD4=",
"filename": "example.html"
}More from gaents
- api.gaents.com/v1/jobs/google-trendsGoogle Trends interest over time for one keyword (worldwide, 12 months) Fetches Google Trends interest over the last 12 months, worldwide, for one search keyword: weekly relative interest (0-100, 100 = the peak) plus average, peak and latest values.0.0015
- api.gaents.com/v1/jobs/ocr-tesseractOCR an image to text (Tesseract) Extracts the printed text from one image (PNG, JPEG, TIFF or WebP, sent as base64) with Tesseract OCR 5, English, and reports Tesseract's mean word confidence.0.001
- api.gaents.com/v1/jobs/site-renderRender a website's pages in a real browser Renders a website in a real headless browser (JavaScript run) and returns the visible text of its start page plus linked contact, about and team pages.0.04
- api.gaents.com/v1/jobs/tts-piperText to speech (Piper, English voices) Speaks English text aloud with Piper TTS and returns a WAV file (base64, 22.05 kHz mono). Voices: en_US-ljspeech-medium (one female voice, public domain) and en_US-libritts_r-medium (904 speakers, CC BY 4.0).0.001
- api.gaents.com/v1/jobs/youtube-channelA YouTube channel's latest videos Lists the latest videos of one YouTube channel, newest first, with title, URL, views, duration and publish time.0.0075
- api.gaents.com/v1/jobs/youtube-commentsTop comments on a YouTube video Fetches the top-level comments on one YouTube video (no replies), ranked as YouTube ranks them, with author, likes and reply count.0.01
- api.gaents.com/v1/jobs/youtube-searchYouTube search results for one query Searches YouTube for one query and returns the ranked result videos with title, URL, channel, views, duration and date.0.0029
- api.gaents.com/v1/jobs/youtube-transcriptYouTube video transcript (captions) Fetches the caption transcript of one YouTube video (uploaded or auto-generated captions), as plain text with the caption language.0.0033
