CatsApi Gateway

An OpenAI-compatible LLM API gated by CatsApi NFT ownership on BNB Smart Chain. Each NFT unlocks a monthly token quota by tier (Common 500K · Rare 1M · Epic 5M · Legendary 20M · Mythic 50M; quotas stack).

1. Get a key

Sign this message with the wallet that holds your CatsApi (no transaction, no gas):

CatsApi Gateway key request
Address: <your address>
Timestamp: <unix time in milliseconds>

Then POST it:

curl -X POST /v1/keys -H 'content-type: application/json' -d '{
  "address": "0x...", "message": "...", "signature": "0x..."
}'

2. Call the API

curl /v1/chat/completions -H "Authorization: Bearer sk-cats-..."   -H 'content-type: application/json'   -d '{"model":"gpt-6.1-sol","messages":[{"role":"user","content":"Hello"}]}'

3. Or plug it into any OpenAI client

This gateway speaks the OpenAI API format, so any compatible app or SDK works as-is. The upstream provider's special User-Agent requirement is handled by the gateway itself — as a user you configure exactly two things, nothing else:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.prjktspace.web.id/v1",
    api_key="sk-cats-...",                            # your key from step 1
)
client.chat.completions.create(
    model="gpt-6.1-sol",
    messages=[{"role": "user", "content": "Hello"}],
)

Same recipe in ChatBox, LobeChat, LibreChat and other OpenAI-compatible apps: Base URL = https://api.prjktspace.web.id/v1, API Key = your sk-cats- key, Model = gpt-6.1-sol.

Check usage any time at GET /v1/me with your key. Keys rotate: asking for a new key revokes the old one. Mint a cat at gateway.prjktspace.web.id — Agent ID holders mint their first one free.