Pokemon Go API – Encounter Data API
This post talks about the newest Pokemon Go API, the Encounter Data API at pogoapi.net.
Pokemon Encounter Data
When encountering a Pokemon there are a number of metrics that influence the catch rate, and what it does during the encounter.
Some of these metrics affect the Pokemon does during the encounter. For example, base_flee_rate
is the chance that a Pokemon will run from the encounter each turn and base_capture_rate
is the base rate of capturing the Pokemon.
The attack_probability
and dodge_probability
reflect the chance that the Pokemon will attack and dodge respectively. The min_pokemon_action_frequency and max_pokemon_action_frequency are the minimum and maximum time between an action.
Getting the Pokemon Encounter Data
This API groups all the information that influences an encounter together.
GET /api/v1/pokemon_encounter_data.json
Returns a JSON array where each element is a dict containing attack_probability
, base_capture_rate
, base_flee_rate
, dodge_probability
, max_pokemon_action_frequency
, min_pokemon_action_frequency
, Pokemon ID, Pokemon name and optionally the form.
The fields attack_probability
, base_capture_rate
, base_flee_rate
, and dodge_probability
are a value from 0 to 1. 0 represents 0% chance of it occurring each turn and 1 represents 100% chance. The fields max_pokemon_action_frequency
, and min_pokemon_action_frequency
are in seconds representing the maximum and minimum amount of time between an action.
Example data
[ { "attack_probability": 0.1, "base_capture_rate": 0.2, "base_flee_rate": 0.1, "dodge_probability": 0.15, "max_pokemon_action_frequency": 1.6, "min_pokemon_action_frequency": 0.2, "pokemon_id": 1, "pokemon_name": "Bulbasaur" }, { "attack_probability": 0.1, "base_capture_rate": 0.1, "base_flee_rate": 0.07, "dodge_probability": 0.15, "max_pokemon_action_frequency": 1.6, "min_pokemon_action_frequency": 0.2, "pokemon_id": 2, "pokemon_name": "Ivysaur" }, ... ]
The full documentation is available on the PoGoAPI.net documentation page.
If you have any questions about this API or suggestions for other API’s contact me here below or on Twitter!