crob.at

Find, build, analyze, and share teams

My teams

Build with crob.at.

Read, generate, and share Pokémon teams.
A simple API for your app, bot, or next project.

Free to useNo API keyJSON responses

Create your first team

Send a Pokémon Showdown export.
Get a permanent link to share.

  1. Send your teamUse JSON with a teams array and the export in paste.
  2. Share the returned URLKeep the private management token to yourself.

YOUR RESPONSE INCLUDES

"url": "https://crob.at/abc123"Your own URL will be unique.

The example stores one Pokémon. Teams are unlisted by default and readable by anyone with the link.

POST/api/team
curl --fail-with-body https://crob.at/api/team \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "My first team",
    "teams": [{
      "format": "gen9ou",
      "paste": "Garchomp @ Choice Scarf\nAbility: Rough Skin\n- Earthquake\n- Dragon Claw\n- Stone Edge\n- Iron Head"
    }]
  }'
const base = 'https://crob.at';
const paste = [
  'Garchomp @ Choice Scarf',
  'Ability: Rough Skin',
  'EVs: 252 Atk / 4 SpD / 252 Spe',
  'Jolly Nature',
  '- Earthquake',
  '- Dragon Claw',
  '- Stone Edge',
  '- Iron Head'
].join('\n');

const createdResponse = await fetch(`${base}/api/team`, {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({
    name: 'Example team',
    public: false,
    teams: [{format: 'gen9ou', paste}]
  })
});
if (!createdResponse.ok) throw new Error(await createdResponse.text());
const created = await createdResponse.json();
console.log(created.url); // Share this URL, not management_token.

const teamResponse = await fetch(`${base}/api/team/${created.slug}`);
if (!teamResponse.ok) throw new Error(await teamResponse.text());
const team = await teamResponse.json();
console.log(team.teams[0].paste);

A successful request returns 201 Created.

Working with an agent?

Give it the guide and schema. Both work without JavaScript.

Markdown guide OpenAPI 3.1

API reference

Choose an endpoint for request fields, examples, and responses.

GETRead a team/api/team/:slug

Retrieve a team by its slug.

Example:

curl https://crob.at/api/team/abc123
const response = await fetch('https://crob.at/api/team/abc123');
if (!response.ok) throw new Error(await response.text());
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://crob.at/api/team/abc123')
response.raise_for_status()
data = response.json()
print(data)

Response:

{
  "slug": "abc123",
  "name": "My Team",
  "author": "username",
  "description": "Short notes about how the team plays.",
  "public": false,
  "provenance": null,
  "format_status": null,
  "tournament": null,
  "image": "https://crob.at/og/abc123.png",
  "source_url": null,
  "created_at": "2026-07-21 10:30:00",
  "views": 12,
  "is_multi": false,
  "teams": [{
    "format": "gen9ou",
    "name": "My Team",
    "paste": "Garchomp @ Choice Scarf\nAbility: Rough Skin\nEVs: 252 Atk / 4 SpD / 252 Spe\nJolly Nature\n- Earthquake\n- Dragon Claw\n- Stone Edge\n- Iron Head"
  }]
}
GETRead a team in a collection/api/team/:slug/:teamSlug

Retrieve one team from a multi-team paste. Use the child slug from its share URL, such as /abc123/rain-offense.

Example:

curl https://crob.at/api/team/abc123/rain-offense

Response:

{
  "paste_slug": "abc123",
  "slug": "rain-offense",
  "format": "gen9ou",
  "name": "Rain Offense",
  "paste": "Pelipper @ Damp Rock\nAbility: Drizzle\n- Hurricane\n- Surf\n- U-turn\n- Roost",
  "url": "https://crob.at/abc123/rain-offense",
  "image": "https://crob.at/og/abc123.png?team=rain-offense"
}
POSTShare a team/api/team

Create a new team.

Request:

{
  "name": "My Team Name",
  "author": "username",
  "description": "Short notes about how the team plays.",
  "public": false,
  "teams": [{
    "name": "My Team",
    "format": "gen9ou",
    "paste": "Garchomp @ Choice Scarf\nAbility: Rough Skin\nEVs: 252 Atk / 4 SpD / 252 Spe\nJolly Nature\n- Earthquake\n- Dragon Claw\n- Stone Edge\n- Iron Head"
  }]
}

teams must contain at least one entry. Optional names, author, and description are truncated to their storage limits. A supplied format must be supported by Pokémon Showdown.

Example:

curl -X POST https://crob.at/api/team \
  -H "Content-Type: application/json" \
  -d '{"name": "My Team", "description": "Fast offense with a Scarf cleaner.", "teams": [{"paste": "Garchomp @ Choice Scarf\nAbility: Rough Skin\nEVs: 252 Atk / 4 SpD / 252 Spe\nJolly Nature\n- Earthquake\n- Dragon Claw\n- Stone Edge\n- Iron Head"}]}'
const response = await fetch('https://crob.at/api/team', {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({
    name: 'My Team',
    description: 'Fast offense with a Scarf cleaner.',
    teams: [{paste: 'Garchomp @ Choice Scarf\nAbility: Rough Skin\nEVs: 252 Atk / 4 SpD / 252 Spe\nJolly Nature\n- Earthquake\n- Dragon Claw\n- Stone Edge\n- Iron Head'}]
  })
});

if (!response.ok) throw new Error(await response.text());
const {slug, url} = await response.json();
console.log(`Created: ${url}`);
import requests

response = requests.post('https://crob.at/api/team', json={
    'name': 'My Team',
    'description': 'Fast offense with a Scarf cleaner.',
    'teams': [{'paste': 'Garchomp @ Choice Scarf\nAbility: Rough Skin\nEVs: 252 Atk / 4 SpD / 252 Spe\nJolly Nature\n- Earthquake\n- Dragon Claw\n- Stone Edge\n- Iron Head'}]
})

response.raise_for_status()
data = response.json()
print(f"Created: {data['url']}")

Response:

{
  "slug": "abc123",
  "url": "https://crob.at/abc123",
  "image": "https://crob.at/og/abc123.png",
  "management_token": "000000000000000000000000000000000000000000000000"
}

Returns 201 when created. The example token is a placeholder. Store the real management_token securely and share only the URL.

GETGenerate a team/api/random-team/:format

Generate a random competitive team for a Smogon format. Returns the Showdown export and rendered card HTML used by the site UI. Generation does not create a saved team. Not every Showdown format has generator data. This is not the Showdown Random Battle format. Check the export against the rules of your battle server.

Optional query parameters: bias=staples|balanced|surprise, one include Pokémon name, and one exclude Pokémon name. The default bias is balanced. Each name must be at most 80 characters and in the generator pool. The same Pokémon cannot be included and excluded. URL-encode names.

Example:

curl https://crob.at/api/random-team/gen9ou
const response = await fetch('https://crob.at/api/random-team/gen9ou');
if (!response.ok) throw new Error(await response.text());
const data = await response.json();
console.log(data.teamText);
import requests

response = requests.get('https://crob.at/api/random-team/gen9ou')
response.raise_for_status()
data = response.json()
print(data['teamText'])

Response:

{
  "teamText": "Garchomp @ Choice Scarf\nAbility: Rough Skin\nEVs: 252 Atk / 4 SpD / 252 Spe\nJolly Nature\n- Earthquake\n- Dragon Claw\n- Stone Edge\n- Iron Head\n\nCorviknight @ Leftovers\nAbility: Pressure\n- Roost\n- Defog\n- U-turn\n- Brave Bird\n\nRotom-Wash @ Leftovers\nAbility: Levitate\n- Hydro Pump\n- Volt Switch\n- Will-O-Wisp\n- Protect\n\nKingambit @ Black Glasses\nAbility: Supreme Overlord\n- Kowtow Cleave\n- Sucker Punch\n- Iron Head\n- Swords Dance\n\nClefable @ Leftovers\nAbility: Magic Guard\n- Moonblast\n- Moonlight\n- Stealth Rock\n- Thunder Wave\n\nDragapult @ Choice Specs\nAbility: Infiltrator\n- Shadow Ball\n- Draco Meteor\n- Flamethrower\n- U-turn",
  "statsDate": "2026-03",
  "cardsHtml": "<div class=\"pokemon-grid\">...</div>"
}
POSTSave a generated team/api/random-team/:format/save

Create an unlisted permanent URL for a generated team. Send the teamText returned by the generation endpoint. Send one stable idempotencyKey for retries. Saving is limited to 30 teams per hour per client.

Example:

const generatedResponse = await fetch('https://crob.at/api/random-team/gen9ou');
if (!generatedResponse.ok) throw new Error(await generatedResponse.text());
const generated = await generatedResponse.json();

// Keep this body unchanged if the save needs a retry.
const saveBody = JSON.stringify({
  teamText: generated.teamText,
  idempotencyKey: crypto.randomUUID()
});
const savedResponse = await fetch('https://crob.at/api/random-team/gen9ou/save', {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: saveBody
});
if (!savedResponse.ok) throw new Error(await savedResponse.text());
console.log((await savedResponse.json()).url);

Response:

{
  "slug": "rAbCdEf12345",
  "url": "https://crob.at/rAbCdEf12345",
  "image": "https://crob.at/og/rAbCdEf12345.png"
}

Returns 201 for a new save, 200 for a retry, 409 if a key was used for different input, 400 for an invalid format or team, 429 when rate limited, and 500 when the team cannot be saved.

GETFind sample teams/api/samples/:tier

Return Smogon sample teams for a given tier (format). Results are cached for one hour.

Example:

curl https://crob.at/api/samples/gen9ou
const response = await fetch('https://crob.at/api/samples/gen9ou');
if (!response.ok) throw new Error(await response.text());
const teams = await response.json();
if (teams.length === 0) throw new Error('No sample teams available');
console.log(teams[0].url);
import requests

response = requests.get('https://crob.at/api/samples/gen9ou')
response.raise_for_status()
teams = response.json()
if not teams:
    raise RuntimeError('No sample teams available')
print(teams[0]['url'])

Response:

[
  {
    "slug": "abc123",
    "name": "Sun Offense",
    "author": "Smogon",
    "tier": "gen9ou",
    "views": 142,
    "created_at": "2026-01-15 10:00:00",
    "url": "https://crob.at/abc123",
    "image": "https://crob.at/og/abc123.png",
    "source_url": "https://www.smogon.com/forums/..."
  }
]

Returns 400 if :tier contains non-alphanumeric characters. Returns an empty array if no sample teams exist for that tier.

GETRead Pokémon types/api/type-chart-data

Return Pokémon names paired with their one or two types. Results are cached for 24 hours.

Example:

curl https://crob.at/api/type-chart-data

Response:

[
  ["Bulbasaur", ["Grass", "Poison"]],
  ["Charmander", ["Fire"]]
]
GETRead the signed-in user/api/me

Return the currently authenticated crob.at user, if any. This endpoint is intended for same-origin session-aware UI.

Example:

curl https://crob.at/api/me \
  -H "Cookie: session=your-session-cookie"
const response = await fetch('https://crob.at/api/me', {
  credentials: 'include'
});

if (!response.ok) throw new Error(await response.text());
const data = await response.json();
console.log(data.user);
import requests

session = requests.Session()
session.cookies.set('session', 'your-session-cookie')

response = session.get('https://crob.at/api/me')
response.raise_for_status()
data = response.json()
print(data['user'])

Response:

{
  "user": {
    "username": "exampleuser",
    "email": "[email protected]",
    "ps_username": "ExampleUser",
    "team_count": 7,
    "favorite_count": 3
  }
}

Returns {"user": null} when no valid crob.at session is present.

POSTSend feedback/api/feedback

Send product feedback with optional contact details. Messages are limited to 2,000 characters and to five submissions per hour per client.

Example:

curl -X POST https://crob.at/api/feedback \
  -H "Content-Type: application/json" \
  -d '{"message":"The team viewer is useful.","contact":"[email protected]"}'

Response:

{"success": true}

Returns 400 for an empty or invalid message, 429 when rate limited, and 500 when feedback cannot be saved.

POSTShowdown browser login/api/showdown/assertion

This is a same-origin browser helper. It requires a crob.at session linked to Pokémon Showdown. It returns HTTP 303 with a Location header and an empty body. The browser must complete the Showdown assertion flow. It does not return a JSON assertion.

Request schema: ShowdownAssertionRequest.

{
  "challstr": "12345|abcdefghijklmnopqrstuvwxyz"
}

The challenge string must be non-empty, at most 2,048 characters, and contain no line breaks. Returns 400 for an invalid request, 401 when a linked Showdown login is required, and 503 when Showdown OAuth is unavailable. Bot integrations that only need team data do not need this endpoint.

Good to know

Errors and retries

Check the HTTP status before reading a success field. JSON errors contain error and can contain message and retryAfter. Example: {"error":"Rate limit exceeded","retryAfter":60}.

  • 400: fix the JSON body, team text, format, or query. Do not retry unchanged input.
  • 404: the team or generator data is unavailable. Sample-team lists can instead return 200 with [].
  • 409: a generated-team save key was used for different input. Keep the same key and body when you retry one save.
  • 429: wait for the Retry-After seconds before another attempt.
  • 500 or 502: use bounded retries with increasing delays for reads. Keep generated text when retrying a save.

POST /api/team and POST /api/feedback do not support idempotency keys. A retry after an uncertain network result can create a duplicate. Each generation request creates a new random result.

Plans

All documented API operations are free. Public API endpoints do not require an account, API key, payment method, or paid plan. Optional account and Pokémon Showdown helpers use the normal crob.at browser session.

Rate limits
  • POST /api/team: 500 created teams per hour per client
  • POST /api/random-team/:format/save: 30 saved random teams per hour per client
  • POST /api/feedback: 5 messages per hour per client
  • Limited responses use HTTP 429 and include Retry-After. Write endpoints also expose applicable X-RateLimit-* headers.
API terms

Use the API lawfully and in a way that does not disrupt crob.at or other users. Do not bypass rate limits, probe for private data, submit abusive or infringing material, or falsely imply that crob.at, Pokémon Showdown, Nintendo, Game Freak, or The Pokémon Company endorses your integration. Public team content remains the responsibility of the person who submitted it. The API is provided as available without a service-level guarantee and may evolve; material contract changes will be reflected in the OpenAPI document and repository history. The privacy policy explains how crob.at handles account and request data.

Security

Public endpoints are anonymous and keyless. Session-aware endpoints use a secure crob.at browser session and act only on the signed-in account. Never send a crob.at session cookie to another origin or embed it in client code. To report a vulnerability privately, email [email protected] with reproduction details and avoid accessing or changing data that is not yours.

Notes
  • Teams must be in Pokemon Showdown export format
  • POST /api/team accepts JSON only
  • Team text is limited to 500,000 characters per request
  • Supports single and multi-team pastes
  • /api/team, /api/team/:slug, /api/team/:slug/:teamSlug, /api/random-team/:format, /api/random-team/:format/save, /api/samples/:tier, /api/type-chart-data, and /api/feedback allow cross-origin requests
  • /api/me and /api/showdown/assertion are session-based helper endpoints for crob.at UI/auth flows
Schemas and agent guides

Fetch /openapi.json before you generate a client. Its jsonSchemaDialect is https://json-schema.org/draft/2020-12/schema. Resolve local $ref pointers against that document. The whole file is an OpenAPI document; request and response schemas are under components.schemas.

  • CreateTeamRequest → CreatedTeam: create a paste.
  • Team and TeamInPaste: read a paste or one team in a collection.
  • GeneratedTeam: generated export, usage-data month, and presentation HTML.
  • SaveGeneratedTeamRequest → CreatedTeam: save a generated export.
  • Error: error text with optional message and retryAfter.

Required fields are explicit. Some response fields can be null. Accept additional response fields. JSON schemas describe data shape; the server also checks recognizable Pokémon text, supported formats, and combined text limits.

Other discovery files: account and access requirements, APIs.json, and API catalog.