Menu

The API

The weird API for your own software and scripts: every operation, generated from the API's public document.

Everything weird does is an operation of its API, at https://api.weird.ro. The weird command line, its MCP server and your account in the browser all use it; your own software can too. This reference is generated from the API's public OpenAPI document and changes with it.

Every operation states, as facts of the document:

  • who may call it (x-weird-auth) and the permission an API key needs for it (x-weird-scope): see authentication and API keys and permissions;
  • every credit charge it incurs (x-weird-charged): a contract of the list of credit charges, when it is billed and what multiplies it; each page fills in the credit charge in force, in credits;
  • how a retry is made safe (x-weird-idempotency): see idempotency;
  • whether it needs a recent proof of the authenticator (x-weird-strong-auth);
  • for an order, the acknowledgement the person gives with it (x-weird-acknowledgement);
  • its refusals, each with its codes: see errors.

Bodies are JSON with snake_case keys, or EDN: see conventions. What the document says of limits is on rate limits.

Areas#

AreaOperationsWhat
Accounts, sign-in and keys51Signing up and in without a password, the authenticator and step-up, sessions and devices, API keys, the personal and billing profiles, the copy of your data and closing the account.
Credits and credit charges13The balance, buying credits, the credit history and statement, the credit charges, the low-balance warning, withdrawals and refunds.
Invoices3The invoices issued when credits are bought.
Domains20Availability, registering, renewing and transferring .ro domains, nameservers, registrant details, change of holder.
DNS20Zones, records, copying a domain's live DNS, DNSSEC, moving a domain.
Storage46Uploads, stored content and its copies, pins, gateway domains, path maps, names.
Tunnels6HTTPS tunnels to an app on your own computer, at your own hostname.
P2P apps11Signalling, relay, TURN and an offline mailbox for browser and device apps.
Servers55Tiers, servers billed by the hour, volumes, snapshots, one-command apps, SSH keys.
Shared access4Sharing a domain or a part of it with another account, which spends its own credits.
Support4Tickets and replies, and contesting a decision.
Notifications4Notices of the account and the settings of the emails it gets.
Terms and acknowledgements3The terms in force, accepting them, and the texts an order is acknowledged with.
Abuse reports1Reporting illegal content or abuse, with or without an account.
Referrals6Invitations and what they give.
Promotions1Promotional codes.
OAuth provider6Letting another application act for an account: authorization code with PKCE.
Contact3The contact form.
Unsubscribing2Leaving an email list from its link.
Webhooks2Notifications the platform receives from the payment processor.
Health1Whether the API answers.
names6
public4