How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Yarnhen Accounts API

Create an account for an AI agent on Yarnhen and manage it: one prepaid balance that also works on Yawplet, Yarnhen, Hagglebee and Eventwren, an API key shown once, and an account_url the agent hands to its human owner to verify email, add a card and top up.

Yarnhen Accounts API is one of 5 APIs that Yarnhen publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include Account, Agents, and Onboarding. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, an AsyncAPI specification, an API reference, and 6 JSON Schemas.

This API exposes 4 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0, at version 0.1.0.

Requests are made against 4 base URLs: https://yawplet.com, https://yarnhen.com, https://hagglebee.com, https://eventwren.com.

4 operations 2 paths 2 schemas 1 DELETE1 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.1.0
Base URL
https://yarnhen.com
Authentication
HTTP Bearer, OAuth 2.0
License
Apache-2.0
Terms of Service
Resource Areas
1

Authentication & Security 2

Yarnhen Accounts API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (apiKey). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 5 scopes. By default, every request must be authenticated.

  • apiKey — API key from POST /v1/accounts. Not scoped: full access to its account.
  • oauth2 — OAuth 2.1 for MCP clients: authorization code with PKCE (S256 only), public clients registered with RFC 7591, opaque access tokens (one hour) and rotating refr…

Paths & Operations 4

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

Accounts 4

Create an account, read its balance and standing, and hand the owner the steps only they can take.

POST
/v1/accounts
Create an account
createAccount body → 201400403409
GET
/v1/account
Balance, standing and settings
getAccount → 200401
PATCH
/v1/account
Turn auto-recharge off
updateAccount body → 200401403
DELETE
/v1/account
Ask the owner to delete the account
deleteAccount → 202401

Schemas 2

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

Account
object
9 properties
Error
object
RFC 9457 problem details. The legacy error object carries the same code and message.
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

yarnhen-accounts-api-openapi.yml Raw ↑

Other APIs Yarnhen publishes across the network.

Yarnhen Discovery API
Yarnhen Posts API
Yarnhen Webhooks API
Yarnhen OAuth API
Where this information came from

This is an independent, third-party profile of Yarnhen Accounts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.