One location, with this month's pace
const url = 'https://api.creatorain.com/v1/locations/loc_3f2a9c1e5b7d4a6f8e0c2b4d6f8a0c2e';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.creatorain.com/v1/locations/loc_3f2a9c1e5b7d4a6f8e0c2b4d6f8a0c2e \ --header 'Authorization: Bearer <token>'Scope read. The location as in the list, plus month: this store-local month’s planned
videos, the visits booked and done, and the videos posted (stated at the store, the ones the
bill counts). month is null when it cannot be counted. A malformed id, an unknown one and
another account’s location are the same 404 not_found. No query parameters.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
loc_3f2a9c1e5b7d4a6f8e0c2b4d6f8a0c2eResponses
Section titled “Responses”The location.
object
object
The quote at create (half of month one; free 0). Not what is due now.
The network state the app’s Network page shows.
Held by the API hold until CreatoRain releases it to recruiting.
True exactly when state is accepting.
RFC 3339, UTC.
object
The store-local month.
Videos a month in force this month.
Visits this month that are booked or done.
Visits this month that happened.
Videos stated at this location that went live this month.
Held back until next month by the pacing.
Example
{ "object": "location", "id": "loc_3f2a9c1e5b7d4a6f8e0c2b4d6f8a0c2e", "plan": "paid", "currency": "USD", "deposit": { "charged": false }, "state": "payment_failed", "status": "active", "month": { "month": "2026-11" }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.
Example
600Requests allowed in the current minute for this workspace (600).
Requests left in the current minute for this workspace.
Seconds until the current window resets.
Parameter_invalid (with field) or invalid_json.
object
object
The request field at fault
Batch_invalid only. Every refused location, by its index in the request.
object
One of the error codes above.
Example
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "doc_url": "https://www.creatorain.com/api/errors#scope_missing", "items": [ { "field": "locations.1.videos_per_month" } ] }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.
Invalid_key, test_key_on_live or live_key_on_sandbox.
object
object
The request field at fault
Batch_invalid only. Every refused location, by its index in the request.
object
One of the error codes above.
Example
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "doc_url": "https://www.creatorain.com/api/errors#scope_missing", "items": [ { "field": "locations.1.videos_per_month" } ] }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.
Scope_missing or forbidden_ip.
object
object
The request field at fault
Batch_invalid only. Every refused location, by its index in the request.
object
One of the error codes above.
Example
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "doc_url": "https://www.creatorain.com/api/errors#scope_missing", "items": [ { "field": "locations.1.videos_per_month" } ] }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.
Not_found.
object
object
The request field at fault
Batch_invalid only. Every refused location, by its index in the request.
object
One of the error codes above.
Example
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "doc_url": "https://www.creatorain.com/api/errors#scope_missing", "items": [ { "field": "locations.1.videos_per_month" } ] }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.
Rate_limited (600 a minute per workspace, an onboarding create limit, or an address blocked after failed authentication), or slow_down (an onboarding session polled too fast).
object
object
The request field at fault
Batch_invalid only. Every refused location, by its index in the request.
object
One of the error codes above.
Example
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "doc_url": "https://www.creatorain.com/api/errors#scope_missing", "items": [ { "field": "locations.1.videos_per_month" } ] }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.
Seconds to wait before retrying (at least 1).
Internal_error (500) or service_unavailable (503). The message never carries a cause.
object
object
The request field at fault
Batch_invalid only. Every refused location, by its index in the request.
object
One of the error codes above.
Example
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "doc_url": "https://www.creatorain.com/api/errors#scope_missing", "items": [ { "field": "locations.1.videos_per_month" } ] }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.
Service_unavailable. The read is unavailable right now (for the bill preview, an account over 2000 locations).
object
object
The request field at fault
Batch_invalid only. Every refused location, by its index in the request.
object
One of the error codes above.
Example
{ "error": { "type": "invalid_request_error", "code": "parameter_invalid", "doc_url": "https://www.creatorain.com/api/errors#scope_missing", "items": [ { "field": "locations.1.videos_per_month" } ] }}Headers
Section titled “Headers”This request’s id. Equal to error.request_id; quote it to support.