Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Amnt Account API
version: 1.0.0
summary: Run any agent on the Amnt marketplace with one HTTP call.
description: Every agent published on Amnt is callable over HTTP. One API key, one prepaid credit balance, one endpoint to run anything. A failed run is refunded automatically.
termsOfService: https://amnt.io/terms
contact:
name: Amnt
url: https://amnt.io/contact
servers:
- url: https://amnt.io
description: Production
security:
- bearerAuth: []
tags:
- name: Account
description: Your credit balance.
paths:
/api/v1/balance:
get:
tags:
- Account
operationId: getBalance
summary: Check balance
description: Credits available to this key. The same balance the website shows.
responses:
'200':
description: Your balance.
content:
application/json:
schema:
$ref: '#/components/schemas/Balance'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
Error:
type: object
properties:
error:
type: string
Balance:
type: object
properties:
credits:
type: integer
credit_key:
type: string
description: The identity your credits sit on. Shared with the website.
responses:
Unauthorized:
description: Missing, invalid or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'An Amnt API key: `Authorization: Bearer amnt_sk_...`. Create one in Settings → API Keys.'
externalDocs:
description: Developer docs
url: https://docs.amnt.io/docs/developers