API DOCUMENTATION

Build With Our API

Complete REST API documentation with code examples in Python and JavaScript. Webhooks, SDKs, and comprehensive guides included.

QUICK START

Get Up and Running in Minutes

Complete code examples to start using oriGENapi in your application.

import requests

# Initialize client
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
}

# List suppliers
response = requests.get(
    'https://api.origenapi.com/v1/suppliers',
    headers=headers,
    params={'category': 'peptides', 'limit': 20}
)

suppliers = response.json()
for supplier in suppliers['data']:
    print(f"{supplier['name']} - {supplier['gmp_status']}")

Replace YOUR_API_KEY with your actual API key from the dashboard.

API FEATURES

Enterprise-Grade API

Secure Authentication

OAuth 2.0 and API key authentication with rate limiting

Real-Time Data

Live supplier status, compliance updates, and order tracking

REST & Webhooks

Standard REST API plus event-driven webhooks

Webhooks & Events

Subscribe to order events, compliance alerts, and more

AUTHENTICATION

Secure API Access

Choose the authentication method that best fits your use case.

API Key Authentication

Simple header-based authentication for backend services

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.origenapi.com/v1/suppliers

OAuth 2.0

Industry-standard OAuth for web applications and integrations

POST https://api.origenapi.com/oauth/token
Content-Type: application/json

{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET",
  "grant_type": "client_credentials"
}
ENDPOINTS

Core API Endpoints

Main API endpoints for suppliers, orders, and compliance.

GET/suppliers

List all suppliers with filtering and pagination

categorygmp_statuslimitoffset
View Details →
GET/suppliers/:id

Get detailed supplier information including certifications

id
View Details →
POST/orders

Create a new procurement order

supplier_iditemsdelivery_date
View Details →
GET/orders/:id

Get order status and tracking information

id
View Details →
POST/compliance/verify

Verify supplier compliance status

supplier_idaudit_date
View Details →
GET/coa/search

Search for Certificates of Analysis

productsupplier_iddate_range
View Details →
REFERENCE

Rate Limits & Status Codes

Rate Limiting

Free Plan100 requests/hour
Starter1,000 requests/hour
Growth10,000 requests/hour
EnterpriseCustom limits

HTTP Status Codes

200Success - Request completed
201Created - New resource created
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
429Rate Limited - Too many requests
500Server Error - Try again later
SDKS & LIBRARIES

Official Client Libraries

Speed up development with our official SDKs.

Python SDK

Full-featured Python library with async support

  • PyPI Package
  • Type Hints
  • Error Handling
  • Async Methods
pip install origenapiView on GitHub →

JavaScript SDK

Modern JavaScript/TypeScript library for Node.js and browsers

  • NPM Package
  • TypeScript
  • Promises & Async/Await
  • Browser Compatible
npm install @origenapi/clientView on GitHub →

Go SDK

High-performance Go library for backend services

  • Go Modules
  • Concurrent
  • Error Handling
  • Context Support
go get github.com/origenapi/go-sdkView on GitHub →

Java SDK

Enterprise-grade Java library with Spring integration

  • Maven/Gradle
  • Spring Boot
  • Reactive Streams
  • Connection Pooling
compile 'com.origenapi:client:1.0'View on GitHub →

Ready to Build With Our API?

Get your API key and start building in minutes. Full documentation and developer support included.