Felo API PlatformFelo API Platform

Start

Getting Started

Create one Felo key, then connect an AI tool with one command or call the API directly.

Felo API Platform gives you one API key for model APIs, Data APIs, search, web fetch, image/video, and agent workflows.

Choose an API and its balance

APIPaymentGuide
Data API (Felo and other providers)Platform balanceAPI directory
Felo Data API (/api/v1/data)Platform balanceFelo API Setup
Model APIPlatform balancePlatform overview

Set up Felo endpoints in Data API for search, web content, X data and presentations, using platform balance. Felo API Setup · OpenAPI Billing and Errors

Two ways to connect

You want to...Start with
Use Felo inside Codex, Claude Code, Pi, OpenCode, Cursor, or another AI toolOption A: one command
Call Felo from your own app, script, or backendOption B: direct API

You need both a Felo key and service credits. No subscription is required.

1. Get one API key

One Felo key works for model calls, Data API, search, image/video, and workflows.

  1. Open Felo Console → API Keys.
  2. Create a key and copy the full value. It is shown only once.
  3. Store it as FELO_API_KEY in the environment where your app or agent runs.
export FELO_API_KEY="YOUR_API_KEY"
$env:FELO_API_KEY="YOUR_API_KEY"

Option A: use Felo inside an AI tool

For Codex, Claude Code, Pi, OpenCode, Cursor, Cline, and other supported agents.

Requires Node.js 22+. From a normal terminal:

npm install -g feloapi-cli@latest; feloapi onboard

feloapi onboard does four things:

  1. Shows the key page.
  2. Saves the key you paste into a hidden prompt.
  3. Detects installed AI tools.
  4. Installs the Felo Skill into the selected tools.

It does not change your model or provider. If you already use Claude, GPT, or another model, that account stays as it is.

Verify:

feloapi auth status
feloapi skill list

Then open a new agent session and ask:

Use feloapi to look up the Ahrefs DR for example.com.

Need manual setup instead? Use the Codex guide, Claude Code guide, or FeloAPI CLI.

Option B: call the API directly

Base URLs and endpoints

ProtocolBase URLEndpoint
OpenAI Chat Completionshttps://openapi.felo.ai/api/v1POST /chat/completions
OpenAI Responseshttps://openapi.felo.ai/api/v1POST /responses
Anthropic Messageshttps://openapi.felo.ai/apiPOST /v1/messages
Felo Data APIhttps://openapi.felo.ai/api/v1/dataPOST /web/search

Use your Felo key as the API key. Choose a current model ID from the model catalog; do not guess IDs.

First request (OpenAI-compatible)

curl -sS https://openapi.felo.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-5-5",
    "messages": [{"role": "user", "content": "Say OK"}],
    "max_tokens": 16
  }'

A successful call returns HTTP 200 and choices[0].message.content.

First request (Anthropic-compatible)

curl -sS https://openapi.felo.ai/api/v1/messages \
  -H "x-api-key: $FELO_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-5-5",
    "max_tokens": 16,
    "messages": [{"role": "user", "content": "Say OK"}]
  }'

The Anthropic endpoint requires max_tokens and returns content[0].text.

If you use an SDK, see Protocols and SDKs. For the Data API, see Data API.

Find web pages and return titles, links and snippets.

curl -sS --request POST "https://openapi.felo.ai/api/v1/data/web/search" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"retrieval augmented generation","count":3}'

HTTP 200 returns the results at the JSON root:

{
  "resources": [
    {"title":"Example guide","link":"https://example.com/guide","snippet":"An introduction to retrieval augmented generation."}
  ],
  "total": 1
}

Web Search · OpenAPI Billing and Errors

Agent instructions

Use this section when the user asks you to connect Felo, or points you at this page.

Copyable setup request:

Set up Felo using https://openapi.felo.ai/docs/getting-started.md.
Follow the Agent instructions on that page. Run the commands yourself when a shell is available.
Do not ask me to paste my API key into chat. Do not change unrelated model settings.

Rules:

  • Reuse an existing working Felo key or Skill connection. Do not reinstall or migrate automatically.
  • There is one Felo key. It covers model calls and Data APIs. Never print, log, or commit it.
  • If the user already has a model, do not replace it. Option A only adds the Felo Skill.
  • Do not invent endpoints, headers, or model IDs. Use this page and the model catalog.

Run this flow:

  1. Decide the path. If the user wants Felo inside an AI tool, use Option A. If the user wants HTTP calls from their app, use Option B. Do not force the CLI on an API-only user.
  2. Option A: run npm install -g feloapi-cli@latest; feloapi onboard.

- If the key is missing, open https://openapi.felo.ai/console/api-keys and ask the user to paste the key into the terminal prompt, never into chat. - In a non-interactive shell, use printf '%s' "$FELO_API_KEY" | feloapi onboard --key-stdin --yes. - Verify with feloapi auth status and feloapi skill list.

  1. Option B: confirm FELO_API_KEY is set. For model calls, choose the OpenAI or Anthropic base URL; for Felo Data API, use the web search example below /api/v1/data. Run one minimal request and verify HTTP 200 and the documented response fields.
  2. If a sandbox, missing write permission, or missing key blocks you, stop and report the exact command the user must run. Do not switch to another provider or bypass the missing step.
  3. Report what was installed or called, and include one verification result.

Supported AI tools

Add workflow APIs

  • Web Search — Find web pages and return titles, links and snippets.
  • Web Read — Read a URL as Markdown, text, HTML or a screenshot.
  • X Data — Retrieve X profiles, search users and posts, and paginate timelines and replies.
  • Search-grounded Chat — Generate an answer with web sources using platform balance.
  • PPT Generation and Export — Create a presentation, poll its progress, export a PPTX and manage its lifetime.

Troubleshooting

SymptomCheck
401FELO_API_KEY is set and is the current key
404 on every requestOpenAI base URL ends at /api/v1; Anthropic base URL ends at /api without /v1
400 model errorUse a current model ID from the model catalog
CLI cannot find the keyRun feloapi auth login, or feloapi onboard again
Skill not visibleStart a new agent session; run feloapi skill list

Still stuck? See Authentication, Errors and limits, or Troubleshooting.

Need help?