YepAPI

Command Palette

Search for a command to run...

POST/v1/scrape

Web Scraping API

Scrape any URL and get clean markdown, HTML, or plain text. Fast lightweight scraping for blogs, docs, and static pages from $0.01/call.

Fetch the content of any public webpage and get it back in your preferred format. Fast, lightweight scraping without JavaScript rendering — ideal for blogs, docs, and static pages.

Try it live

Fill in the fields and hit Run to see a real response.

POST/v1/scrape

Optional. Extract only a specific element.

Response
Example response — hit "Send Request" to see a live result
{
  "ok": true,
  "data": {
    "url": "https://example.com",
    "statusCode": 200,
    "content": "# Example Domain\n\nThis domain is for use in illustrative examples...",
    "format": "markdown"
  }
}

Features

Return content as markdown, HTML, or plain text

Pick your output format with a single parameter — clean LLM-ready markdown, raw HTML, or stripped plain text. Markdown is the default and ideal for feeding pages into AI pipelines and RAG indexes.

CSS selector targeting for specific elements

Pass an optional CSS selector like `article` or `.main-content` to extract only the part of the page you care about. Skip navigation, footers, and ads to get just the body content.

Automatic proxy rotation

Every request routes through rotating proxies automatically, so you avoid IP bans and rate limits without managing a proxy pool yourself. No configuration required.

Fast response — no JS rendering overhead

This endpoint fetches raw HTML without spinning up a headless browser, making it dramatically faster and cheaper than JS rendering. Perfect for blogs, docs, and static pages where the content is already in the HTML.

Resolved URL and status code included

Responses return the final resolved URL after redirects plus the HTTP status code, so you always know exactly which page was fetched and whether it succeeded.

Use cases

Content Monitoring

Track changes on competitor pages, pricing tables, or documentation by scraping and diffing content periodically.

Data Pipeline Ingestion

Feed webpage content into ETL pipelines, data warehouses, or AI systems as clean markdown or text.

SEO Content Analysis

Scrape competitor pages to analyze structure, headings, word count, and content gaps.

Research Automation

Automate the collection of information from multiple sources for market research or reporting.

RAG Knowledge Bases

Build retrieval-augmented generation knowledge bases by scraping and indexing relevant web pages.

Quick start

Copy this snippet and start making calls.

const res = await fetch('https://api.yepapi.com/v1/scrape', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "url": "https://example.com",
    "format": "markdown",
    "selector": "article, .main-content"
  }),
});
const data = await res.json();
console.log(data);

Web Scraping API for clean markdown, HTML, and text

The YepAPI Web Scraping API turns any public webpage into clean, structured content with a single POST request. Send a URL and choose your output format — markdown, HTML, or plain text — and get back the page content without the boilerplate. There is no SDK to install and no proxy infrastructure to maintain.

This is the fast, lightweight endpoint built for static pages: blogs, documentation, articles, and any site that delivers its content in the initial HTML. For JavaScript-heavy single-page apps you'll want the JavaScript Scraping API, and for sites behind Cloudflare or Akamai reach for the Stealth Scraping API. For basic scraping, this endpoint is the cheapest and quickest option.

What is a web scraping API?

A web scraping API is a hosted service that fetches the content of a webpage and returns it in a usable format, so you don't have to run your own crawler, browser, or proxy network. You send a URL over HTTP and get back the page content — as markdown, HTML, or text — already cleaned of navigation, ads, and other clutter. It handles proxy rotation, redirects, and parsing on the server side. Developers use web scraping APIs to power data pipelines, content monitoring, SEO analysis, and AI knowledge bases without maintaining brittle scraping scripts or getting their servers' IPs blocked by target sites.

Build your own web scraping tool

With one endpoint you can build a content monitor that diffs competitor pages, an ETL job that ingests articles as markdown, or a RAG pipeline that indexes documentation into a vector store. Because the API returns clean markdown by default, the output drops straight into LLM prompts and embeddings without extra cleanup. Add the optional CSS selector to grab just the article body, then schedule the call on a cron and you have a production scraper in an afternoon — no headless browser, no proxy management, no maintenance.

Web scraping API pricing — from $0.01 per call

The Web Scraping API costs $0.01 per call with no monthly minimum and no subscription. You pay only for the requests you make. Compare that to ScrapingBee, which gates access behind a $49/month minimum, Firecrawl at $19/month, or Apify at $49/month. With YepAPI there's no plan to outgrow and no commitment — top up credits and call the endpoint as much or as little as you need, scaling from a handful of pages to millions.

Cleaner output, less parsing code

Unlike scrapers that hand you a wall of raw HTML, this endpoint returns content already converted to markdown or plain text, with boilerplate stripped. That means far less parsing logic in your codebase and content that's immediately ready for AI models, search indexes, or storage. When you do need the raw markup or a single element, the HTML format and CSS selector parameter give you precise control without switching tools.

Try the Web Scraping API free

Sign up and get $5 in free credit — no credit card required. That's enough for 500 scrape calls to test the API against your own target URLs. Try different output formats and selectors before you commit a cent.

Start making API calls in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

Fetch the content of any public webpage and get it back in your preferred format. Fast, lightweight scraping without JavaScript rendering — ideal for blogs, docs, and static pages.

Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.

Sign up for a free API key, then send a POST request to /v1/scrape. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.

YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.

Ready to integrate?

Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.

More web scraping endpoints