API v1.0 - Stable Release

Contract Intelligence API

Build powerful integrations with our RESTful API

Developer-Friendly API

Everything you need to integrate contract intelligence into your applications

RESTful Architecture

Simple, predictable API design following REST principles

Secure by Default

OAuth 2.0 and API key authentication with rate limiting

Comprehensive SDKs

Official libraries for Python, JavaScript, Ruby, and more

Detailed Documentation

Interactive API explorer with real-time examples

Quick Start

Get started with our API in minutes. Choose your preferred language and start building powerful contract management features into your application.

1

Get Your API Key

Sign up and generate your API key from the dashboard

2

Install SDK

Use our official SDK or make direct HTTP requests

3

Make Your First Request

Upload a contract and get AI-powered insights instantly

// Initialize the SDK
const ContractAPI = require('@contractai/sdk');
const client = new ContractAPI('YOUR_API_KEY');

// Upload and analyze a contract
async function analyzeContract() {
  const contract = await client.contracts.create({
    file: fs.createReadStream('contract.pdf'),
    metadata: {
      title: 'Vendor Agreement',
      category: 'procurement'
    }
  });
  
  // Trigger AI analysis
  const analysis = await client.contracts.analyze(contract.id);
  
  console.log('Risk Score:', analysis.risk_score);
  console.log('Key Dates:', analysis.key_dates);
  console.log('Obligations:', analysis.obligations);
  
  return analysis;
}

API Endpoints

Complete reference of all available endpoints

MethodEndpointDescriptionParameters
GET/v1/contractsList all contracts
pagelimitstatussearch
POST/v1/contractsCreate a new contract
filemetadatatags
GET/v1/contracts/:idGet contract details
id
PUT/v1/contracts/:idUpdate contract
idmetadatastatus
DELETE/v1/contracts/:idDelete contract
id
POST/v1/contracts/:id/analyzeTrigger AI analysis
idoptions
GET/v1/contracts/:id/insightsGet AI-generated insights
id
POST/v1/searchSearch contracts
queryfilterssort
GET/v1/alertsList all alerts
pagelimittype
POST/v1/webhooksCreate webhook
urleventssecret

Rate Limits & Pricing

Choose the plan that fits your needs

Free

100/hour
Burst: 10/minute
SSL/TLS encryption
Full API access

Starter

1,000/hour
Burst: 50/minute
SSL/TLS encryption
Full API access
POPULAR

Professional

10,000/hour
Burst: 200/minute
SSL/TLS encryption
Full API access

Enterprise

Custom
Burst: Custom
SSL/TLS encryption
Full API access

Need Help Getting Started?

Our developer support team is here to help you integrate our API successfully