> For the complete documentation index, see [llms.txt](https://docs.pokeb.ag/data-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pokeb.ag/data-sdk/low-level-api/getentities.md).

# getEntities

`getEntities` does most of the heavy lifting for our higher-level API.

> **⚠️ NOTE ⚠️** You should probably be using [`getHeldItems`](/data-sdk/core-methods/gethelditems.md), [`getPokemon`](/data-sdk/core-methods/getpokemon.md), or [`getSkills`](/data-sdk/core-methods/getskills.md) instead.

```javascript
import { getEntities } from '@pokebag/data-sdk'

async function logAllOfThePokemon(pokemon) {
  const entities = await getEntities({
    ids: pokemon,
    type: 'pokemon',
  })

  console.log(entities)
}

logAllOfThePokemon(['crustle', 'mr-mime'])
// Logs an array with data for Crustle and Mr. Mime
```
