How to Connect Claude Code to External APIs in 2026
Step-by-step guide to extending Claude Code with search, PPT generation, LiveDocs, and more using a single API key.
Claude Code is great at reasoning about code. But ask it to pull live web data, generate a presentation, or access your team's shared knowledge, and it runs into a wall. The fix is connecting it to external APIs.

Here's how to give Claude Code the tools it needs to move from code assistant to complete workflow engine.
What Claude Code Can't Do Out of the Box
Claude Code ships with strong reasoning and code generation abilities. What it lacks:
- Live web data — it can't search the current internet or verify claims against fresh sources
- Web page extraction — it can't read arbitrary URLs and pull structured content
- Social media signals — no access to X (Twitter) data or YouTube transcripts
- Office deliverables — it can describe a slide deck, but can't generate one
- Shared memory — no persistent workspace where your team saves files, URLs, and context
These gaps matter when Claude Code is doing real work, not just answering coding questions.
The Solution: One API Key for Everything
Felo OpenAPI gives Claude Code access to model APIs, tool APIs, memory, and output capabilities through a single key. Instead of connecting separate services for search, PPT generation, and document storage, you configure one base URL and one API key.
Step 1: Get Your API Key
Go to Felo OpenAPI settings and generate an API key. Save it somewhere secure — you'll paste it during setup.
Step 2: Configure Claude Code
Open the Felo OpenAPI setup guide for Claude Code at openapi.felo.ai/docs/agent-clients/claude-code. The guide shows you exactly where to enter:
- Base URL: the Felo OpenAPI endpoint
- API key: the key you generated in Step 1
- Model: choose from Claude Opus, Sonnet, Haiku, GPT, or Grok
Step 3: Verify the Connection
The setup guide includes a verification step. Run it to confirm Claude Code can reach the Felo API and return a response. If the verification passes, you're connected.
What Claude Code Can Do After Connecting
Once connected, Claude Code gains access to the full Felo tool stack:
Model APIs
Run top models at lower cost through familiar protocols:
- OpenAI-compatible Chat Completions
- Anthropic-compatible Messages
- Responses API
You're no longer locked into a single model provider or paying premium rates. Claude Code can call stronger models for complex reasoning steps without worrying about cost.
Search and Web Tools
- AI Search — real-time web search with structured results
- Web Fetch — read any webpage and extract content
- X Search — search users, tweets, and track social signals
- YouTube Subtitles — pull transcripts and understand video content
Claude Code can now research topics, verify information against live sources, and pull context from social media or video.
Output Capabilities
- PPT API — generate slide decks with themed templates
- Mindmap API — turn structured ideas into visual maps
- Landing Page API — draft launch pages with copy and structure
- Image Generation — create visual assets on demand
Instead of telling you what a presentation should look like, Claude Code generates the actual deck.
LiveDocs Memory
LiveDocs gives Claude Code a shared workspace:
- Upload files and add URLs as resources
- Semantic retrieval to find relevant context
- Tasks, records, and comments for collaboration
Claude Code can now remember what your team saved last week and combine it with today's research.
Real Workflow Examples
Market Research Deck
Tell Claude Code to research a market and build a presentation. It searches for data, pulls web sources, saves findings to LiveDocs, and generates a PPT deck — all in one session.
Code Review with Live Sources
Ask Claude Code to review an approach against current best practices. It searches the latest documentation, reads relevant pages, and produces a review backed by fresh sources.
Campaign Content Generation
Start with a product concept. Claude Code researches the market, generates visual assets, and drafts a landing page with copy and structure.
Why This Works Better Than Separate APIs
Connecting Claude Code to Felo OpenAPI is cleaner than stitching individual services together:
- One key instead of managing accounts across multiple providers
- One base URL for all tool calls
- Coherent protocols — OpenAI-compatible and Anthropic-compatible APIs
- Lower cost — access to top models at reduced rates
- Built-in memory — LiveDocs stores context across sessions
You don't need to figure out which search API to use, where to store files, or how to generate output. Felo handles all of it.
Troubleshooting
Connection Fails Verification
Check that your base URL and API key are entered correctly. The most common issue is a typo in the key or an incorrect endpoint URL.
Tool Calls Return Errors
Make sure Claude Code is configured to call the Felo API for tool execution. Some agent configurations require explicit tool enablement.
Model Responses Are Slow
If you're using a strong reasoning model like Claude Opus, responses take longer. Try Claude Sonnet for faster results on less complex tasks.
Next Steps
- Create your free API key
- Open the Claude Code setup guide
- Configure, verify, and test with a real workflow
Claude Code keeps its thinking loop. Felo adds the tools it needs to finish work.
Connect Claude Code to Felo OpenAPI →
This post is also available in 简体中文, 日本語, 한국어, 繁體中文, हिन्दी, Français, العربية, Русский, اردو, Bahasa Indonesia, Deutsch, Tiếng Việt, Türkçe, Italiano, ไทย, Español, বাংলা and Português.