> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
> Use this file to discover all available pages before exploring further.

# queryTable

Query table data

> **Group:** Studio APIs

Use this when you need: **Query table data**.

## Usage

```ts theme={"system"}
import { NeynarAPIClient, Configuration } from "@neynar/nodejs-sdk";

const client = new NeynarAPIClient(
  new Configuration({ apiKey: "YOUR_NEYNAR_API_KEY" })
);

const res = await client.queryTable({
  queryTableRequest: "value", // required
});
console.log(res);
```

## Parameters

| Parameter           | Type                | Required | Description |
| ------------------- | ------------------- | :------: | ----------- |
| `queryTableRequest` | `QueryTableRequest` |     ✅    | -           |

## Response

Returns a `RequestArgs` object.

## Error Handling

```ts theme={"system"}
try {
  const res = await client.queryTable({
    queryTableRequest: "value"
  });
  // use res
} catch (err) {
  // Axios/HTTP errors, invalid params, auth issues, etc.
  console.error(err);
}
```

## Tips

* Provide a **viewerFid** when supported to respect mutes/blocks and include `viewer_context`.
* Keep requests scoped (e.g., use `limit`) to improve latency.
* Cache results where sensible.


## Related topics

- [Indexer Service - Neynar API](/docs/indexer-service-pipe-farcaster-data.md)
- [Neynar SQL Playground](/docs/how-to-query-neynar-sql-playground-for-farcaster-data.md)
- [listTables](/nodejs-sdk/studio-apis/listTables.md)
- [How to Ingest](/docs/how-to-ingest.md)
- [Developer Ecosystem](/docs/neynar-developer-ecosystem-for-farcaster.md)
