# Retrieving your Lumar accounts https://api-docs.lumar.io/docs/graphql/get-accounts To begin fully using the API you will need access to account with an active subcription. To find out which accounts do you have access to you can run following GraphQL query. ```graphql query getMyAccounts { me { accounts(first: 5) { nodes { id name } } } } ``` **Response:** ```json { "data": { "me": { "username": "your.username@usually-email.com", "accounts": { "nodes": [ { "id": "TjAwN0FjY291bnQyMTkyMQ", "name": "Your Account Name" } ] } } } } ``` When you have an account id that you want to access to you can skip going through `me` and query directly to get a specific account. ```graphql query getAccountNode($accountId: ObjectID!) { node(id: $accountId) { ... on Account { id name } } } ``` **Variables:** ```json { "accountId": "TjAwN0FjY291bnQ3MTU" } ``` **Response:** ```json { "data": { "node": { "id": "TjAwN0FjY291bnQ3MTU", "name": "Your Account Name" } } } ``` or you can use `getAccount` query. ```graphql query getSpecificAccount($accountId: ObjectID!) { getAccount(id: $accountId) { ... on Account { id name } } } ``` **Variables:** ```json { "accountId": "TjAwN0FjY291bnQ3MTU" } ``` **Response:** ```json { "data": { "getAccount": { "id": "TjAwN0FjY291bnQ3MTU", "name": "Your Account Name" } } } ```