Text Extraction API
Turn any URL into clean plain text for NLP, search indexing and classification. No tags, no scripts, no parser to write.
{
"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
POST /webscraping
{
"url": "stripe.com",
"format": [
"text-llm"
]
}





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 formattextreturns the page as raw text, roughly 70% fewer tokens than raw HTMLtext-llmalso 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.
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% smallerReady to tokenise
Feed it into embeddings, classification or sentiment analysis without a cleaning step first.
NLP-readySearch indexing
Index page content without teaching your indexer to ignore navigation that appears on every page.
full-textRenders first
JavaScript-rendered pages are loaded in a browser before extraction, so client-side content is included.
renderJSHow 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
POST /webscraping
{
"url": "https://www.twilio.com/docs/usage",
"format": ["text-llm"]
}One request, plain text back.
# 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)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.
Growth covers up to ~100,000 pages a month (100K credits), about $0.69 per 1,000 pages. Or $58/mo billed yearly.
- 500 credits / month
- 1 team member
- 7 days log retention
- 1 request per second
- 10K credits / month
- 3 team members
- 30 days log retention
- 5 requests per second
- 100K credits / month
- 5 team members
- 30 days log retention
- 10 requests per second
- 1M credits / month
- 25 team members
- 90 days log retention
- 25 requests per second
Teams that stopped maintaining scrapers.
“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.”
“Documentation was easy to follow. We were scraping dynamic pages within hours. Very reliable service.”
Plain text, specifically.
General scraping questions are answered on the Web Scraping API page.
Open the Web Scraping API pagetext returns the whole page as plain text. text-llm additionally strips navigation, ads, footers and other boilerplate, leaving the primary content.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.