Developers

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.

Base URLhttps://pyloon.xyz/v1
POST/v1/chat/completions

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.

terminal
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.

header
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.

response (server-sent events)
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.

optional: control reasoning yourself
{
  "model": "zai/glm-5.3-flash",
  "max_tokens": 200,
  "reasoning": { "effort": "medium", "exclude": true },
  "messages": [{ "role": "user", "content": "..." }]
}
GET/v1/tools/pons-scan?ca=0x…

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.

  • score 0–100 and verdict: clean, caution, red_flags or early
  • dev: how much the dev bought and what share they sold
  • bundle: whitelisted wallets and funnel wallets (sold more than they bought)
  • flow: buy-and-dump bot volume and top-holder concentration
  • twins: other launches with the same name or socials
  • signals[]: each finding as { level, text }

Free: 60 scans a day per network. Holders of the Pyloon token get more, see Limits.

tool definition for your agent
{
  "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"]
    }
  }
}
call it
curl "https://pyloon.xyz/v1/tools/pons-scan?ca=0x…"
GET/api/xcheck?q=<post link or @handle>

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.

call it
curl "https://pyloon.xyz/api/xcheck?q=https://x.com/user/status/123"

# → { score, verdict, signals[], summary,
#     evidence: { sites, repos, tokens, site } }
GET/v1/models

Models

Free on every key. Paid models open with ETH top-ups.

Claude Haiku 5.5Anthropicthinksanthropic/claude-haiku-5.5
GPT-6 LunaOpenAIopenai/gpt-6-luna
Gemini 2.5 Flash LiteGooglegoogle/gemini-2.5-flash-lite
DeepSeek V4 FlashDeepSeekdeepseek/deepseek-v4-flash
Qwen 3.7 FlashAlibabathinksalibaba/qwen3.7-flash
gpt-oss 120BOpenAIthinksopenai/gpt-oss-120b
GLM 5.3 FlashZ.aithinkszai/glm-5.3-flash
Llama 4 ScoutMetameta/llama-4-scout

Endpoints

POST/v1/chat/completionsChat, streaming or notAuth: Key
GET/v1/modelsModel listAuth: None
GET/v1/tools/pons-scan?ca=Pons token scanAuth: Optional
GET/api/xcheck?q=X checkAuth: Optional
GET/api/statusAre the models onlineAuth: None

Limits & errors

TierRequestsScansX checks
Free506010
Holder200500100
Pro holder1,000Unlimited500

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 shape
{
  "error": {
    "message": "Daily limit reached (50 requests).",
    "type": "rate_limit_error",
    "code": "daily_limit"
  }
}