Runs onWeb Scraping API

Text Extraction API

Turn any URL into clean plain text for NLP, search indexing and classification. No tags, no scripts, no parser to write.

4.9average across
G2 — 4.8 out of 5Google — 4.9 out of 5Product Hunt — 5.0 out of 5
REQUEST PAYLOAD
{
  "url": "example.com",
  "format": "text-llm"
}
Output
Plain text
Cost
1 credit a page
Best for
NLP and search indexing
  • 500 free credits every month
  • No card to start
  • Failed requests cost nothing
Playground
format
Request
POST /webscraping
{
  "url": "stripe.com",
  "format": [
    "text-llm"
  ]
}
loading example…
Want every endpoint and every parameter?
The Geekflare playground has every API and option, plus saved requests. Free with 500 credits a month.
Open the playground
Trusted by teams at
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon
PfizerNBCUniversalTCSHostingerKissflowLookoutPlivoClearSaleSparkianCBSplitOmreon

HTML isn't text

  • Markup, scripts and styles are noise to an NLP or search pipeline
  • Stripping it yourself means writing and maintaining a parser
  • Nav bars, ads and footers leak into your word counts and embeddings

Clean plain text

The leanest format
  • text returns the page as raw text, roughly 70% fewer tokens than raw HTML
  • text-llm also strips nav and boilerplate, roughly 85% fewer tokens than HTML
  • No parser to write or maintain — one request, words back

There is no separate endpoint to learn. Set format: "text" — or "text-llm" — on the Web Scraping API.

Built for text-only pipelines

Words, and nothing else.

Everything that isn't prose is removed before the response, so nothing downstream has to know that the source was a webpage.

No markup at all

Tags, scripts, styles and inline attributes are gone. What you get is readable text.

format: "text"

Boilerplate stripped

text-llm drops navigation, ads, footers and sidebars, leaving the primary content of the page.

format: "text-llm"

Lowest token cost

Text carries no syntax overhead, so the same page costs fewer tokens than Markdown or HTML.

~85% smaller

Ready to tokenise

Feed it into embeddings, classification or sentiment analysis without a cleaning step first.

NLP-ready

Search indexing

Index page content without teaching your indexer to ignore navigation that appears on every page.

full-text

Renders first

JavaScript-rendered pages are loaded in a browser before extraction, so client-side content is included.

renderJS
Use cases

How teams run text extraction at volume.

Keep the per-document token bill predictable

When every page goes through a model, the format decides the bill. Text carries no syntax at all, so the same page costs a fraction of what raw HTML would, and a long page is far less likely to blow the context window.

  • Roughly 85% fewer tokens than raw HTML with text-llm
  • Predictable cost per document
  • Nothing to strip before tokenising
Typical request
POST /webscraping
{
  "url": "https://www.twilio.com/docs/usage",
  "format": ["text-llm"]
}
What comes back
contentprose only
markup, nav, adsremoved
Quickstart

One request, plain text back.

quickstart.pyofficial SDK
# pip install geekflare-api
from geekflare_api.client import GeekflareClient
from geekflare_api.models import WebScrapeDto

with GeekflareClient(api_key="<api-key>") as client:
    result = client.web_scrape(
        WebScrapeDto(
            url="https://example.com",
            format=["markdown"]
        )
    )
    print(result)
Pricing

One credit a page, whichever format.

Text costs the same as HTML or Markdown, and credits are shared with every other Geekflare API. Failed requests cost nothing.

5002M

Growth covers up to ~100,000 pages a month (100K credits), about $0.69 per 1,000 pages. Or $58/mo billed yearly.

pages
60,000
Plan
Growth · $69/mo
FreeNo card
$0/mo
~500
pages / month
  • 500 credits / month
  • 1 team member
  • 7 days log retention
  • 1 request per second
Starter
$19/mo
~10,000
pages / month
  • 10K credits / month
  • 3 team members
  • 30 days log retention
  • 5 requests per second
GrowthMost popular
$69/mo
~100,000
pages / month
  • 100K credits / month
  • 5 team members
  • 30 days log retention
  • 10 requests per second
Business
$349/mo
~1,000,000
pages / month
  • 1M credits / month
  • 25 team members
  • 90 days log retention
  • 25 requests per second
Start freeCompare plans and credit packsEvery account starts free. Upgrade from the dashboard when you need more, or buy a credit pack from $10.
In production

Teams that stopped maintaining scrapers.

Read all reviews
“Found Geekflare API to get markdown from URL for my AI agents. It is fast and cheaper and works on almost every website.”
Ram DasiArchitect, PA Consulting
“After trying many scraping services, I selected Geekflare to scrape public directories. Mainly for two reasons - it is cheaper and fast.”
Vishu SharmaCTO
“Documentation was easy to follow. We were scraping dynamic pages within hours. Very reliable service.”
Marco SilvaAnalytics Engineer
Questions

Plain text, specifically.

General scraping questions are answered on the Web Scraping API page.

Open the Web Scraping API page

text returns the whole page as plain text. text-llm additionally strips navigation, ads, footers and other boilerplate, leaving the primary content.

Use Markdown when heading structure helps you chunk sensibly, which is usually the case for docs and articles. Use text when the pipeline only needs words — classification, sentiment, full-text search.

Yes. The page is rendered in headless Chrome before extraction, so client-side content is included in the text.

Yes, the text follows the document order of the rendered page. What is removed is markup and boilerplate, not the sequence of the content.

A page costs 1 credit, the same as every other format. Failed requests cost nothing.

Plain text, on your first request.

Create a free account to try any URL in the playground and grab your API key. 500 credits a month, no card.