Integrations / APIs and agent frameworks

Web scraping for Pydantic AI.

Hand the scraper to an agent as an MCP toolset, with your key as the bearer token. Your assistant gets 19 tools for reading pages as clean Markdown, crawling sites, tracking changes and searching what it has read.

  1. Get a key

    1,000 free credits, no card, no email. Open the free trial, save the key, and put it in an environment variable named APEX_SCRAPER_API_KEY.

  2. Python

    import os
    from pydantic_ai import Agent
    from pydantic_ai.mcp import MCPToolset
    
    toolset = MCPToolset("https://webscraper.apexflowlabs.com/v1/mcp", auth=os.environ["APEX_SCRAPER_API_KEY"])
    agent = Agent("openai:gpt-6.1-sol", toolsets=[toolset])
    
    async def main():
        result = await agent.run("Read https://example.com and summarise it in three points.")
        print(result.output)
  3. Try it

    • Read https://example.com/pricing and list the plans as a table.
    • Map docs.example.com, then read the five pages about authentication.
    • Check these three pages again and show me only what changed.
    • What has the house price trend been in Sacramento, CA over five years?

MCPToolset takes a bearer token string in auth for HTTP servers; any model Pydantic AI supports works.

Checked against the Pydantic AI documentation on 22 November 2026. If your version differs, follow its documentation and use the address and header shown here.

What your assistant can do

ToolWhat it does
scrape_pageRead one page as clean Markdown, with a source receipt and what changed since your last read.
scrape_batchRead up to ten pages in parallel.
check_changesRe-read pages and get back only the lines that changed.
map_siteList a site's pages from its sitemaps.
crawl_siteStart a background crawl of one site's own pages.
crawl_statusRead a crawl's progress and its pages as Markdown.
web_searchSearch the web and return links, titles and snippets.
search_savedSearch the pages your account has already read. No credits.
house_pricesHouse price index and trend for a US metro, from federal housing data.
home_reportHouse price trend, rent by bedroom count and mortgage rates for a US metro, in one answer.
rent_pricesMonthly rent for a studio to a 4-bedroom in any US metro or county.
job_payPay for a job in a US metro: median, mean and 10th to 90th percentile.
company_jobsA company's open jobs from its own public job board, with pay where published.
mortgage_ratesThis week's 30- and 15-year fixed mortgage rates.
npr_newsLatest NPR headlines for a topic, with links.
track_storeSnapshot a Shopify store's public catalog and report what changed.
rising_productsRank a tracked store's products by recent change signals.
tracked_storesList the stores your account tracks. No credits.
credit_balanceRemaining credits, plan, limits and where to add more.

Questions

What does it cost?

A plain page is 1 credit and a rendered page is 3. The free trial is 1,000 credits once, with no card. After that it is $5 once for 35,000 credits or $15 a month for 110,000. Failed pages return their credits and there are no automatic overage charges.

Where do I get the key?

At webscraper.apexflowlabs.com/trial.html. The key is shown once in your browser, so save it in a password manager and put it in an environment variable or your tool's secret store.

What will it not do?

It does not solve CAPTCHAs, rotate proxies or disguise requests. Crawls obey robots.txt and Crawl-delay. A page that refuses a live read comes back as a dated Internet Archive copy, labelled as such.

Get 1,000 free credits → Read the API docs

Other ways to connect

Claude CodeClaude DesktopCursorVS Code and GitHub CopilotWindsurf (Devin Local)ClineCodex CLIGemini CLIZedLM StudioRoo CodeWarpClaude APIOpenAI Responses APIOpenAI Agents SDKLangChain and LangGraphVercel AI SDKGoogle Agent Development KitMastraREST API: curl, Python, NodeOpenAPI: custom GPTs, Postman and API toolsn8n, Make and ZapierAgent skill file