Read the Sovereignty Letter from Sarphir Technologies Inc.
Access global sovereignty data, market intelligence, and risk analysis through our powerful REST API. Built for developers who value precision, privacy, and performance.
Get your API key from the dashboard
Use any HTTP client to call endpoints
Receive JSON-formatted responses
curl -X GET "https://sarphir.com/api/worldbank/indicators?country=SGP" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
/api/worldbank/indicators
Fetch all sovereignty indicators for a country
country
requiredISO 3166-1 alpha-3 country code (e.g., USA, SGP){
"taxRevenue": 25.4,
"inflation": 2.1,
"netMigration": 3.5,
"politicalStability": 1.2,
"easeOfBusiness": 84.0,
"ruleOfLaw": 1.8,
"tradeOpenness": 320.5
}
/api/worldbank/data
Fetch specific World Bank indicator data
indicator
requiredWorld Bank indicator codecountry
requiredISO 3166-1 alpha-3 country code{
"indicator": "GC.TAX.TOTL.GD.ZS",
"country": "SGP",
"value": 13.2,
"year": 2023
}
/api/markets/stock
Get real-time stock market data
symbol
requiredStock ticker symbol (e.g., AAPL, MSFT){
"symbol": "AAPL",
"price": 178.25,
"change": 2.34,
"changePercent": 1.33,
"volume": 54231000,
"marketCap": 2800000000000
}
/api/markets/crypto
Get cryptocurrency market data
symbol
requiredCrypto symbol (e.g., BTC, ETH){
"symbol": "BTC",
"price": 43250.00,
"change24h": 1250.50,
"changePercent24h": 2.98,
"volume24h": 25000000000,
"marketCap": 850000000000
}
/api/markets/sector
Get sector performance data
sector
requiredSector name (e.g., Technology, Healthcare){
"sector": "Technology",
"performance": 15.4,
"topStocks": ["AAPL", "MSFT", "GOOGL"],
"volume": 150000000000
}
/api/markets/timeseries
Get historical market data
symbol
requiredSymbol to fetchinterval
optionalTime interval (1d, 1w, 1m)range
optionalDate range (1y, 5y, max){
"symbol": "AAPL",
"data": [
{ "date": "2024-01-01", "open": 175.2, "high": 178.5, "low": 174.8, "close": 177.9 }
]
}