Skip to main content
GET
Get residential data
Reads the calling account’s own residential data: what is left, what the plan includes this UTC month, the price of 1 GB, whether the account can buy now, its credits, its purchases and its auto-buy setting. Read it before Buy residential data, and send its price_cents as expected_price_cents. See Residential IP.
It reads the account that calls, never a workspace’s: use the workspace owner’s sign-in or an account-wide key with Billing read. A key for one workspace or one computer answers 403 with code ACCOUNT_KEY_REQUIRED, and a share-link guest 403 with GUEST_RESTRICTED.
  • left_bytes counts data bought and this month’s included data. It is the network’s count at counted_at, less what the computers reported since, so it is an estimate between counts.
  • included is what the plan includes this UTC month: 1 GB on Starter, 5 GB on Growth, 20 GB on Scale and Enterprise. It is used before data bought, comes back in full at resets_at, and does not roll over. It is absent on a plan with none, such as Free.
  • can_buy is false with buy_blocked_reason: not_paying (the account needs a paid plan or credit it bought), credit_short (the credits don’t cover 1 GB) or unavailable (data can’t be added right now).
  • purchases lists the last 20, newest first. A pending purchase has its credits held, not spent; a returned one was not added, and its credits went back.
  • auto_buy is set by a person in Settings → Plan & billing, never by a key. It buys nothing until the account has bought once by hand (terms_accepted).

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Response

The account’s residential data.

left_bytes
integer
required

Data left: bought, and this month’s included data. As the network last counted it, less what the computers reported since, never below zero. An estimate between counts.

counted_at
string<date-time> | null
required

When the network last counted the account’s use. Null before the first count.

price_cents
integer | null
required

The price of 1 GB, in cents. Null while it is not for sale.

can_buy
boolean
required

The account can buy data now.

buy_blocked_reason
enum<string> | null
required

not_paying: the account needs a paid plan or credit it bought. credit_short: the credits don’t cover 1 GB. unavailable: data can’t be added right now. Null when can_buy is true.

Available options:
not_paying,
credit_short,
unavailable,
null
available_cents
integer | null
required

The account’s credits, in cents, when they were read.

purchases
object[]
required

Newest first, at most 20. Included data is not a purchase.

auto_buy
object
required

Buying 1 GB from credits when data falls under 0.25 GB. Set by a person in Plan and billing, and only there. It buys nothing until the account has bought once by hand, which accepts the Residential IPs terms (terms_accepted).

terms_accepted
boolean

The account has bought before, and with that accepted the Residential IPs terms. Auto-buy buys nothing while this is false. Absent while it is not for sale.

included
object

Residential data the plan includes this UTC month, used before data bought. Absent on a plan with none, such as Free.