---
title: "DNA"
method: GET
path: "/dnas"
tags: ["DNA"]
---

# DNA

`GET /dnas`

## Request

- Base URL: `https://public-api.apptweak.com/api/public/apptweak`
- URL: `https://public-api.apptweak.com/api/public/apptweak/dnas`
- Auth: API key in header `x-apptweak-key`

Get the list of AppDNA and/or GameDNA available in AppTweak. These are common for both Apple Store and Google Play Store. <br/><br/> <b>Price</b> <table> <thead><tr><th>Datapoint</th><th>Description</th><th>Credits/request</th></tr></thead> <tbody> <tr><td><b>-</b></td><td>List of the AppDNA and GameDNA classes available in AppTweak</td><td>1</td></tr> </tbody> </table> <br/><br/> <b>Good to know</b> <br/><br/> &bull; Each AppDNA or GameDNA is expressed as a class and a subclass, and a subclass is always part of a class. You can use both IDs as a DNA ID in other endpoints.<br/>&bull; The labels are meant to not be used as identifiers, but more as extra metadata about the AppDNA or GameDNA.

## Query parameters

- `types` string

## Response `200`

Successful response.

- object
  - `result` object[]
    - `class_id` integer
    - `class_label` string
    - `subclass_id` integer
    - `subclass_label` string
  - `metadata` ResponseMetadata: Standard response envelope: the request as the API parsed it, the credits actually charged (`cost`), and what the call could have cost had every datapoint been available (`max_credit_cost`). Every endpoint of this API returns it unchanged.
    - `request` object
      - `path` string: The path that was called.
      - `params` object, nullable: The query as the API parsed it, with defaults applied.
      - `cost` integer: Credits actually charged for this call.
      - `max_credit_cost` integer: Credits the call could have cost if every datapoint requested had been available.
      - `status` integer: HTTP status of the response.
    - `response` object, nullable: Endpoint-specific notes; null when there are none.

## Other responses

- `401`: Unauthorized. Unknown or missing API token.
- `403`: Forbidden. Not enough credits to perform the request.
- `422`: Validation error. Returned when `types` contains a value other than `apps` or `games`.

---

[API](https://skmtc.dev/apptweak/apis/apptweak-api.md) - [All operations](https://skmtc.dev/apptweak/apis/apptweak-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apptweak/apis/apptweak-api/revisions/76dfd41ade5d?raw)
