Documentation

Learn how to integrate ShopInYourCoin into your website to boost sales with localized currency prices.

API Reference

Complete reference for the ShopInYourCoin API endpoints.

Authentication
All API requests require authentication using your API key.

Include your API key in the header of all requests:

X-API-Key: YOUR_API_KEY
GET /api/public/localize
GET
Frontend endpoint. Detects currency + Fetches rates. Rate-limited by Domain.

Parameters

NameTypeRequiredDescription
basestringNoBase currency (Default: USD)

Response

{
  "country": "BR",
  "currency": "BRL",
  "ip": "201.10.10.10",
  "base": "USD",
  "rates": {
    "BRL": 5.14,
    "EUR": 0.92,
    // ...
  }
}
GET /api/service/localize
GET
Backend endpoint. No domain check. Pass user IP via header for geo-detection.

Use header X-Forwarded-For to pass end-user IP.

OpenAPI Specification
Download our complete OpenAPI specification to integrate with your tools.

Our API is fully documented using the OpenAPI 3.0 specification. You can download the specification file or view it in your browser.