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: Agentra - Identity Oracle and Trust Layer for AI Agents API
version: 1.0.0
description: 'Non-custodial authorization infrastructure for autonomous AI agents.
Agentra verifies agent identity, scores bidirectional trust, and
orchestrates payment authorizations without ever touching private
keys or custodying funds.
## Architecture
Agentra is an identity oracle, not a payment processor. The flow:
1. Agent requests authorization via this API
2. Agentra verifies identity + scores trust + checks limits
3. Returns attestation + unsigned transaction
4. Agent signs with their own Turnkey wallet
5. Agent submits signed transaction to Base network
6. Agent calls settle endpoint to record completion
## Quick Start (2 API calls)
1. POST /v1/agents/register - Get agent_id and API key
2. POST /v1/wallets/provision - Provision a Turnkey wallet
## Authentication
All endpoints require X-API-Key header with your agent key (agn_ prefix)
or service key (ask_ prefix).
## MCP Alternative
This same API is available via MCP (Model Context Protocol) at
POST /mcp for Claude, Cursor, and other MCP-native agents.'
contact:
name: Agentra
url: https://agentrapay.ai
license:
name: Proprietary
identifier: LicenseRef-Agentra
servers:
- url: https://api.agentrapay.ai
description: Production (Base Mainnet mainnet)
security:
- ApiKeyAuth: []
tags:
- name: Agents
paths:
/v1/agents/register:
post:
operationId: registerAgent
summary: Register a new agent
description: 'Register an agent and receive credentials. This is the first call
when onboarding. Returns an agent_id (UUID) and API key (agn_ prefix).
New agents start at Unverified trust tier ($100/tx, $250/day).'
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
description: Human-readable agent name
example: ShoppingBot-v2
agent_type:
type: string
enum:
- autonomous
- semi_autonomous
- tool
default: autonomous
responses:
'201':
description: Agent registered successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AgentRegistration'
'400':
description: Invalid request
tags:
- Agents
/v1/agents/{agent_id}:
get:
operationId: getAgent
summary: Get agent profile
description: Returns agent details, trust tier, score, and wallet info.
parameters:
- name: agent_id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Agent profile
content:
application/json:
schema:
$ref: '#/components/schemas/AgentProfile'
'404':
description: Agent not found
tags:
- Agents
components:
schemas:
AgentRegistration:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
AgentProfile:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true