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.
https://api.xerpihan.com/v1Authentication
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: Bearer YOUR_SECRET_KEYSecurity 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.
/market/auditTriggers a deep research sweep for a specific topic or niche.
curl -X GET "https://api.xerpihan.com/v1/market/audit?query=SaaS+Marketing" \
-H "Authorization: Bearer xrp_live_8f2k9l1m0n3b5v4c6x7z9a"Query Parameters
| Parameter | Type | Description |
|---|---|---|
| query | string | Topic to analyze. Required |
| languages | array | Optional. Filter by specific target languages. |
Editorial Audit
Analyze text assets for SEO expansion and semantic intent. Perfect for CMS integrations.
/editorial/analyzeUpload content to receive an intelligence layer report.
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.
/av/roi-projectionGet projected revenue for adding specific subtitle tracks.
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
Pro Strategy
Business Scale
Official SDKs
Accelerate your integration with our official SDKs for major programming languages.
Node.js SDK
npm install @xerpihan/sdkPython SDK
pip install xerpihan-sdkGo SDK
go get github.com/xerpihan/goPHP SDK
composer require xerpihan/sdk