Page cover

πŸ₯Rent ITAI Audit API

(Coming Soon)

Overview

The ITAI API provides real-time access to on-chain audit intelligence. With this integration, developers and project owners can:

  • Instantly audit smart contracts

  • Fetch detailed risk analysis and security summaries

  • Deliver AI-powered insights directly to users

  • Enhance trust and transparency on any DeFi or Web3 platform


Getting Started

To use the ITAI API, you must first request access. Once approved, you will receive an API key.

API Base URL

(Coming Soon)

Authentication

All requests must include your API key in the headers:

(Coming Soon)

Endpoints

1. Audit a Smart Contract

POST /audit

Description: Submit a contract address for a full AI audit.

Body Parameters:


  method: 'GET',
  headers: {
    'x-api-key': 'your-api-key'
  }
});

const data = await response.json();
console.log(data);

Response:

{
  "status": "success",
  "risk_score": 12,
  "summary": "Low risk. No critical functions found.",
  "audit_report": { ... }
}

2. Fetch Audit Report

GET /audit/:address

Description: Retrieve a saved audit for a specific contract address.

Response:

{
  "address": "0x123...abc",
  "chain": "eth",
  "summary": "High risk. Suspicious mint function found.",
  "report": { ... }
}


⚠️ API Error Codes

The API uses standard HTTP status codes to indicate the success or failure of a request:

400

Bad Request

Missing or invalid parameters

401

Unauthorized

Invalid or missing API key

403

Forbidden

Access denied for this endpoint or key tier

404

Not Found

Contract not found or not yet audited

429

Too Many Requests

Rate limit exceeded

500

Internal Server Error

Something went wrong on ITAI’s side

Include error handling in your integration for a smooth user experience.


βš™οΈ Rate Limits

1

60 requests / minute

2

120 requests / minute

3

240 requests / minute

Enterprise

Custom


Currently, ITAI API are only available for: ETH

Last updated