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 Layer for AI Agents Trust 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: Trust
paths:
/v1/trust/{agent_id}:
get:
operationId: getTrustScore
summary: Get bidirectional trust score
description: 'Query an agent''s trust score (0-100), trust tier, and reputation zone.
Agentra scores BOTH sides of every transaction. This endpoint is
monetized: response detail varies by your plan tier.
Call this BEFORE transacting with unknown agents.'
parameters:
- name: agent_id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Trust score response
content:
application/json:
schema:
$ref: '#/components/schemas/TrustScore'
'404':
description: Agent not found
tags:
- Trust
components:
schemas:
TrustScore:
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