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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get Scrapfly account

> Read the connected Scrapfly project's quota, subscription, concurrency, and usage.

`scrapfly.getAccount` reads project and subscription details for the connected API key without spending a scrape credit.

```ts theme={null}
import { automation, onSchedule } from "automate.ax"
import { scrapfly } from "automate.ax/scrapfly"

export default automation("Inspect Scrapfly quota", () => {
  onSchedule({ schedule: "0 8 * * *" })
  scrapfly.getAccount()
})
```

The action has no input. It returns camelCase `account`, `project`, and `subscription` objects, including request quota, current usage, concurrency, billing, and subscription period. Pass `{ account }` as the first argument to select a named binding: `scrapfly.getAccount({ account: "production" })`.
