← Back

URL to markdown API

webcrawler/url-to-md

Simple API that convert any URL into markdown markup

$2.00 / 1,000 requests

URL to markdown API API Javascript integration

Install dependency

npm i webcrawlerapi-js

How to get an access key?

Read Docs Access Key section to obtain a key.

Usage

import webcrawlerapi from "webcrawlerapi-js";

async function main() {
    const client = new webcrawlerapi.WebcrawlerClient(
    "YOUR API KEY HERE"
    )
    const response = await client.scrape({
        input: {
            "url": "https://www.example.com",
        },
        crawler_id: "webcrawler/url-to-md",
    })
    console.log(response)
}

main().catch(console.error);