Docs. Two minutes to your first call.
Pyloon speaks the OpenAI API. Point any SDK at the base URL below, add your key, and pick a model.
Quickstart
1. Create a key on the dashboard. It is shown once and saved in your browser.
2. Send a chat request. The response has the same shape as OpenAI's: choices[0].message.content, plus usage with token counts.
curl https://pyloon.xyz/v1/chat/completions \
-H "Authorization: Bearer $PYLOON_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-haiku-5.5",
"messages": [{ "role": "user", "content": "Hello" }]
}'Authentication
Every model request needs a key in the Authorization header. Keys start with pyl_. Pyloon stores a hash of the key, never the key itself, so a lost key can't be recovered: make a new one.
The token scan and X check work without a key. With a key they count against your key's tier instead of your network.
Authorization: Bearer pyl_xxxxxxxxxxxxxxxxxxxxxxxx
OpenAI SDK
Any OpenAI-compatible client works: the official SDKs, LangChain, the Vercel AI SDK, agent frameworks. Change two things, the base URL and the key, and keep the rest of your code.
Switching models is changing the model string. The list is under Models.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.PYLOON_KEY,
baseURL: "https://pyloon.xyz/v1",
});
const res = await client.chat.completions.create({
model: "deepseek/deepseek-v4-flash",
messages: [{ role: "user", content: "Summarise this launch" }],
});
console.log(res.choices[0].message.content);Streaming
Set "stream": true. You get standard server-sent events. The last chunk before [DONE] carries the token usage, which is also what your dashboard counts.
data: {"choices":[{"delta":{"content":"Hel"}}]}
data: {"choices":[{"delta":{"content":"lo"}}]}
data: {"choices":[],"usage":{"prompt_tokens":9,"completion_tokens":2}}
data: [DONE]Thinking models
Some models think before they answer: anthropic/claude-haiku-5.5, alibaba/qwen3.7-flash, openai/gpt-oss-120b, zai/glm-5.3-flash.
With a small max_tokens the hidden reasoning could use up the whole budget and leave the answer empty. Pyloon adds up to 768 tokens of room for reasoning, asks for low effort and leaves the reasoning text out, so you always get an answer. Send your own reasoning object to change that.
{
"model": "zai/glm-5.3-flash",
"max_tokens": 200,
"reasoning": { "effort": "medium", "exclude": true },
"messages": [{ "role": "user", "content": "..." }]
}Pons token scan
Give this to your agent as a function so it checks a token before it buys. It reads the launch's public trades and returns a score with the reasons.
score0–100 andverdict: clean, caution, red_flags or earlydev: how much the dev bought and what share they soldbundle: whitelisted wallets and funnel wallets (sold more than they bought)flow: buy-and-dump bot volume and top-holder concentrationtwins: other launches with the same name or socialssignals[]: each finding as{ level, text }
Free: 60 scans a day per network. Holders of the Pyloon token get more, see Limits.
{
"type": "function",
"function": {
"name": "pons_scan",
"description": "Check a Pons token on Robinhood Chain before buying: dev selling, whitelisted and funnel wallets, bot volume, copycat names.",
"parameters": {
"type": "object",
"properties": { "ca": { "type": "string", "description": "Token address, 0x..." } },
"required": ["ca"]
}
}
}curl "https://pyloon.xyz/v1/tools/pons-scan?ca=0x…"
X check
Checks whether a post on X is backed by anything real. It reads the post and the account, then the project's own website and docs, and verifies what they point at:
- API endpoints named in the docs, called to see if they respond
- npm packages the docs tell you to install, and GitHub repos
- whether the site links back to the X account
- contract addresses in the post against the site, plus a token scan for Pons tokens
verdict is looks_real, unverified or likely_larp. Free: 10 checks a day per network.
curl "https://pyloon.xyz/api/xcheck?q=https://x.com/user/status/123"
# → { score, verdict, signals[], summary,
# evidence: { sites, repos, tokens, site } }Models
Free on every key. Paid models open with ETH top-ups.
anthropic/claude-haiku-5.5openai/gpt-6-lunagoogle/gemini-2.5-flash-litedeepseek/deepseek-v4-flashalibaba/qwen3.7-flashopenai/gpt-oss-120bzai/glm-5.3-flashmeta/llama-4-scoutEndpoints
Limits & errors
Per day, reset at 00:00 UTC. Up to 1024 output tokens per call, 3 new keys per day per network. Higher tiers come from holding the Pyloon token in a wallet linked on the dashboard.
Errors follow the OpenAI shape. 401 bad key, 400 bad model or body, 429 limit reached, 503 provider busy.
{
"error": {
"message": "Daily limit reached (50 requests).",
"type": "rate_limit_error",
"code": "daily_limit"
}
}