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#
| Area | Operations | What |
|---|---|---|
| Accounts, sign-in and keys | 51 | Signing 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 charges | 13 | The balance, buying credits, the credit history and statement, the credit charges, the low-balance warning, withdrawals and refunds. |
| Invoices | 3 | The invoices issued when credits are bought. |
| Domains | 20 | Availability, registering, renewing and transferring .ro domains, nameservers, registrant details, change of holder. |
| DNS | 20 | Zones, records, copying a domain's live DNS, DNSSEC, moving a domain. |
| Storage | 46 | Uploads, stored content and its copies, pins, gateway domains, path maps, names. |
| Tunnels | 6 | HTTPS tunnels to an app on your own computer, at your own hostname. |
| P2P apps | 11 | Signalling, relay, TURN and an offline mailbox for browser and device apps. |
| Servers | 55 | Tiers, servers billed by the hour, volumes, snapshots, one-command apps, SSH keys. |
| Shared access | 4 | Sharing a domain or a part of it with another account, which spends its own credits. |
| Support | 4 | Tickets and replies, and contesting a decision. |
| Notifications | 4 | Notices of the account and the settings of the emails it gets. |
| Terms and acknowledgements | 3 | The terms in force, accepting them, and the texts an order is acknowledged with. |
| Abuse reports | 1 | Reporting illegal content or abuse, with or without an account. |
| Referrals | 6 | Invitations and what they give. |
| Promotions | 1 | Promotional codes. |
| OAuth provider | 6 | Letting another application act for an account: authorization code with PKCE. |
| Contact | 3 | The contact form. |
| Unsubscribing | 2 | Leaving an email list from its link. |
| Webhooks | 2 | Notifications the platform receives from the payment processor. |
| Health | 1 | Whether the API answers. |
| names | 6 | |
| public | 4 |