Set up in one minute
3 steps · about a minute · works on every plan, including Free
- 1
Install the SDK
The SDK speaks MCP out of the box:
pip install openai-agents
- 2
Connect DoubleCrawl
Use your API key from the dashboard (get one with 5,000 free credits):
import os from agents import Agent, Runner from agents.mcp import MCPServerStreamableHttp async with MCPServerStreamableHttp(params={ "url": "https://mcp.doublecrawl.com/mcp", "headers": {"Authorization": f"Bearer {os.environ['DOUBLECRAWL_API_KEY']}"}, }) as doublecrawl: agent = Agent(name="Researcher", mcp_servers=[doublecrawl]) result = await Runner.run(agent, "How many flats are for sale in Warsaw?") - 3
Run it
The agent can call
fetch_pagewhen it needs a page.
Pay only for pages we deliver
OpenAI Agents SDK uses your DoubleCrawl credits. Failed pages are free, and annual billing saves 10%.
A page costs 1 credit at Level 1, 4 at Level 2 or 25 at Level 3. Full pricing and Enterprise →
Do I need an API key to use DoubleCrawl in OpenAI Agents SDK?
Yes. Create a free account, copy your key from the dashboard and put it in the config above. You start with 5,000 free credits.
When does OpenAI Agents SDK use DoubleCrawl?
Whenever it needs a web page, and especially when a plain fetch fails. You can also ask for it directly: \"use DoubleCrawl to open ...\".
What does a page cost?
1 credit at Level 1, 4 at Level 2 and 25 at Level 3. Failed pages cost 0, and retries are on us.
Can I get the page as seen from another country?
Yes. Mention the country in your request ("from Germany") and OpenAI Agents SDK passes it to DoubleCrawl.
Can I combine DoubleCrawl with other MCP servers?
Yes. Pass several servers in mcp_servers and the agent picks the right tool for each step.