Read the Sovereignty Letter from Sarphir Technologies Inc.

Sarphir API

Access global sovereignty data, market intelligence, and risk analysis through our powerful REST API. Built for developers who value precision, privacy, and performance.

Quick Start

1. Authentication

Get your API key from the dashboard

2. Make Request

Use any HTTP client to call endpoints

3. Get Data

Receive JSON-formatted responses

Example Request

curl -X GET "https://sarphir.com/api/worldbank/indicators?country=SGP" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

API Endpoints

World Bank Data

GET/api/worldbank/indicators

Fetch all sovereignty indicators for a country

Parameters

countryrequiredISO 3166-1 alpha-3 country code (e.g., USA, SGP)

Response Example

{
  "taxRevenue": 25.4,
  "inflation": 2.1,
  "netMigration": 3.5,
  "politicalStability": 1.2,
  "easeOfBusiness": 84.0,
  "ruleOfLaw": 1.8,
  "tradeOpenness": 320.5
}
GET/api/worldbank/data

Fetch specific World Bank indicator data

Parameters

indicatorrequiredWorld Bank indicator code
countryrequiredISO 3166-1 alpha-3 country code

Response Example

{
  "indicator": "GC.TAX.TOTL.GD.ZS",
  "country": "SGP",
  "value": 13.2,
  "year": 2023
}

Market Data

GET/api/markets/stock

Get real-time stock market data

Parameters

symbolrequiredStock ticker symbol (e.g., AAPL, MSFT)

Response Example

{
  "symbol": "AAPL",
  "price": 178.25,
  "change": 2.34,
  "changePercent": 1.33,
  "volume": 54231000,
  "marketCap": 2800000000000
}
GET/api/markets/crypto

Get cryptocurrency market data

Parameters

symbolrequiredCrypto symbol (e.g., BTC, ETH)

Response Example

{
  "symbol": "BTC",
  "price": 43250.00,
  "change24h": 1250.50,
  "changePercent24h": 2.98,
  "volume24h": 25000000000,
  "marketCap": 850000000000
}
GET/api/markets/sector

Get sector performance data

Parameters

sectorrequiredSector name (e.g., Technology, Healthcare)

Response Example

{
  "sector": "Technology",
  "performance": 15.4,
  "topStocks": ["AAPL", "MSFT", "GOOGL"],
  "volume": 150000000000
}
GET/api/markets/timeseries

Get historical market data

Parameters

symbolrequiredSymbol to fetch
intervaloptionalTime interval (1d, 1w, 1m)
rangeoptionalDate range (1y, 5y, max)

Response Example

{
  "symbol": "AAPL",
  "data": [
    { "date": "2024-01-01", "open": 175.2, "high": 178.5, "low": 174.8, "close": 177.9 }
  ]
}

Rate Limits & Usage

Free Tier

  • 1,000 requests per day
  • Basic endpoints access
  • Standard support

Enterprise

  • Unlimited requests
  • Full API access + webhooks
  • Priority support & SLA

Ready to Build with Sarphir?

Get your API key and start accessing global sovereignty intelligence today.