Skip to content

Get API metadata

GET
/api/v2/meta/
const url = 'https://pokeapi.co/api/v2/meta/';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}

Returns metadata about the current deployed version of the API, including the git commit hash, deploy date, and tag (if any).

Media typeapplication/json
object
deploy_date
string
nullable
hash
string
nullable
tag
string
nullable
Examplegenerated
Terminal window
{
"deploy_date": "example",
"hash": "example",
"tag": "example"
}