Skip to main content
POST
Random Pokémon Generator

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ioCount
number

Pokémon per team

Required range: 1 <= x <= 20
ioGeneration
enum<string>

Generation

Available options:
,
1,
2,
3,
4,
5,
6,
7,
8,
9
ioType
enum<string>

Type

Available options:
,
normal,
fire,
water,
electric,
grass,
ice,
fighting,
poison,
ground,
flying,
psychic,
bug,
rock,
ghost,
dragon,
dark,
steel,
fairy
ioHitPoints
enum<string>

Hit points

Available options:
,
0-50,
51-100,
101-150,
151-9999
ioSpeed
enum<string>

Speed

Available options:
,
0-50,
51-100,
101-150,
151-9999
ioAttack
enum<string>

Attack

Available options:
,
0-50,
51-100,
101-150,
151-9999
ioSpecialAttack
enum<string>

Sp. Attack

Available options:
,
0-50,
51-100,
101-150,
151-9999
ioDefence
enum<string>

Defence

Available options:
,
0-50,
51-100,
101-150,
151-9999
ioSpecialDefence
enum<string>

Sp. Defence

Available options:
,
0-50,
51-100,
101-150,
151-9999

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

request_id
string
credits_remaining
integer | null

Credits left in the current monthly allowance, or null when metering is disabled.