Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Wren Credits API

Manage the prepaid credit balance

Wren Credits API is one of 7 APIs that Wren publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Credits. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 3 operations across 3 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 2026-07-21.

Requests are made against a single base URL, https://www.wren.co.

3 operations 3 paths 2 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2026-07-21
Server
https://www.wren.co
Authentication
HTTP Basic, HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 2

Wren Credits API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • basicAuth — Recommended for curl: pass the API token as the username with an empty password (-u [apitoken]:). Token types: team live token (UUID), team test token (wrentes…
  • bearerAuth — Authorization: Bearer [apitoken] with the same token types as Basic auth.

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Credits 3

Manage the prepaid credit balance

POST
/api/credits/top-up
Add credits to your balance
topUpCredits body → 200400403
GET
/api/credits/balance
Get your current credit balance
getCreditBalance → 200403
GET
/api/credits/ledger
List your credit transactions
listCreditLedger 2 params → 200403

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are CreditLedgerEntry (4 properties), Error (1 property). Each schema is shown below with its type and property counts.

Error
object
1 property
CreditLedgerEntry
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wren-credits-api-openapi.yml Raw ↑

Other APIs Wren publishes across the network.

Wren Offset Orders API
Wren Portfolios API
Wren Project Donations API
Wren Project Orders API
Wren Purchases API
Wren Tree Orders API