Xerpihan Logo
EN
Developer Hub

Xerpihan API Reference

Programmatically access our localization market intelligence, editorial audits, and audio/visual ROI data to build world-class global products.

Introduction

Welcome to the Xerpihan Intelligence Engine API. Our platform is designed to help brands and creators scale across global markets by providing deep data insights and automated content operations.

The Xerpihan API is built on RESTful principles. It returns JSON-encoded responses and uses standard HTTP response codes to indicate status and errors.

Base URLhttps://api.xerpihan.com/v1
Production Live

Authentication

All API requests require a secret key for authentication. You can generate and manage your keys in the API Management section of your dashboard.

Authentication is performed via the Authorization header using the Bearer token scheme.

Authorization Headerbash
Authorization: Bearer YOUR_SECRET_KEY
Security Warning

Never share your secret keys or commit them to version control. Use environment variables or a secure secrets manager for production deployments.

Market Intelligence

Identify high-ROI localization opportunities across 50+ languages using our deep research sweep endpoints.

GET/market/audit

Triggers a deep research sweep for a specific topic or niche.

Example Requestbash
curl -X GET "https://api.xerpihan.com/v1/market/audit?query=SaaS+Marketing" \
  -H "Authorization: Bearer xrp_live_8f2k9l1m0n3b5v4c6x7z9a"
Query Parameters
ParameterTypeDescription
querystringTopic to analyze. Required
languagesarrayOptional. Filter by specific target languages.

Editorial Audit

Analyze text assets for SEO expansion and semantic intent. Perfect for CMS integrations.

POST/editorial/analyze

Upload content to receive an intelligence layer report.

Example Requestbash
curl -X POST https://api.xerpihan.com/v1/editorial/analyze \
  -H "Authorization: Bearer xrp_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Discover untapped market potential in Southeast Asia...",
    "source_lang": "en"
  }'

Audio/Visual Pipeline

Retrieve dual-subtitle strategies and waveform-based market reach data for multimedia assets.

GET/av/roi-projection

Get projected revenue for adding specific subtitle tracks.

Example Requestbash
curl -X GET "https://api.xerpihan.com/v1/av/roi-projection?asset_id=vid_123&target=id,th" \
  -H "Authorization: Bearer xrp_live_..."

Rate Limits

Standard rate limits are applied based on your subscription tier to ensure platform stability.

Verified Free
API Requests100 req/min
Intelligence Audits3 / month
Pro Strategy
API Requests1,000 req/min
Intelligence Audits100 / month
Business Scale
API Requests5,000 req/min
Intelligence Audits500 / month

Official SDKs

Accelerate your integration with our official SDKs for major programming languages.

NB
Node.js SDK
npm install @xerpihan/sdk
PY
Python SDK
pip install xerpihan-sdk
GO
Go SDK
go get github.com/xerpihan/go
PH
PHP SDK
composer require xerpihan/sdk