---
updatedAt: 2026-09-03T11:55:33.000Z
agentTools:
  projectIndex: https://docs.pelcro.com/llms.txt
---

# Get account

Retrieve the authenticated account and its available sites.

Retrieves the account and its available sites for the current API credentials.

This endpoint does not require a `site_id` parameter. To see feature flags and capabilities for a specific site, use [Get site](https://docs.pelcro.com/reference/api-core-get-site).

## Response

```json
{
  "data": {
    "id": 100284,
    "company": "Acme Publishing",
    "country": "US",
    "default_currency": "usd",
    "is_enterprise": true,
    "taxes_enabled": true,
    "api_core_rate_limit": 360,
    "payment_gateway": "stripe",
    "sites": [
      {
        "id": 4996,
        "name": "acme-news.com",
        "url": "https://acme-news.com"
      },
      {
        "id": 4997,
        "name": "acme-magazine.com",
        "url": "https://acme-magazine.com"
      }
    ]
  }
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "core-api",
    "version": "1.88"
  },
  "servers": [
    {
      "url": "https://www.pelcro.com/api/v1/core"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      },
      "sec1": {
        "type": "apiKey",
        "in": "query",
        "name": "site_id"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/account": {
      "get": {
        "description": "Retrieve the authenticated account and its available sites.",
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer"
                        },
                        "company": {
                          "type": "string",
                          "nullable": true
                        },
                        "country": {
                          "type": "string",
                          "nullable": true
                        },
                        "default_currency": {
                          "type": "string",
                          "nullable": true
                        },
                        "is_enterprise": {
                          "type": "boolean"
                        },
                        "taxes_enabled": {
                          "type": "boolean"
                        },
                        "api_core_rate_limit": {
                          "type": "integer",
                          "nullable": true
                        },
                        "payment_gateway": {
                          "type": "string",
                          "nullable": true,
                          "example": "stripe",
                          "description": "The active payment gateway for this account. One of: stripe, braintree, tap, vantiv, cybersource. Returns null if no gateway is configured."
                        },
                        "sites": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "integer"
                              },
                              "name": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": {\n    \"id\": 1,\n    \"company\": \"Acme Publishing\",\n    \"country\": \"US\",\n    \"default_currency\": \"usd\",\n    \"is_enterprise\": false,\n    \"taxes_enabled\": false,\n    \"api_core_rate_limit\": 60,\n    \"payment_gateway\": \"stripe\",\n    \"sites\": [\n      {\n        \"id\": 123,\n        \"name\": \"Main Site\",\n        \"url\": \"https://www.example.com\"\n      }\n    ]\n  }\n}"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthenticated.",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "error": "Unauthenticated."
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [],
        "operationId": "get_account",
        "summary": "Get account"
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```