WIA Pin Code API Documentation
Powered by YUJIN Transform
Free tier available โข Enterprise solutions โข 11cm precision globally
๐ Introduction
The WIA Pin Code API provides programmatic access to the YUJIN Transform algorithm, converting GPS coordinates to 9-digit universal location codes.
Mathematical foundation:
YUJIN(ฯ,ฮป) = [โ((ฯ+90)/180)ร999999โ]-[โ((ฮป+180)/360)ร999โ]Learn more about YUJIN Transform โ
๐ณ Pricing & Access Levels
๐ Free Plans โ Individuals, Non-Profits & Governments
Free
Individuals ยท Developers
- โ 100 requests/day
- โ 211 languages
- โ 9-digit codes
- โ Community support
- โ Commercial use
NGO / Non-Profit
Humanitarian ยท Aid Organizations
- โ Unlimited requests
- โ 211 languages
- โ 9 + 12-digit codes
- โ Batch + Grid generation
- โ Priority support
Government
Nations ยท Public Sector
- โ Unlimited requests
- โ 211 languages
- โ National deployment
- โ Grid generation
- โ Direct technical support
๐ผ Business Plans โ Commercial API Access
Starter
Startups ยท Small Business
- โ 10,000 requests/day
- โ 211 languages
- โ 9 + 12-digit codes
- โ Commercial use
- โ CSV batch (1K)
Business โญ
Mid-size ยท Logistics ยท Delivery
- โ 100,000 requests/day
- โ 211 languages
- โ 9 + 12-digit codes
- โ Priority support
- โ CSV batch (100K)
- โ 99.9% SLA
Enterprise
Corporations ยท National Scale
- โ Unlimited requests
- โ 211 languages
- โ 9 + 12-digit codes
- โ 24/7 dedicated support
- โ Unlimited batch
- โ Dedicated server
- โ 99.99% SLA
Free tier is for personal use only. Any commercial use (delivery services, logistics, real estate, etc.) requires a paid plan.
๐ Authentication
All API requests require an API key. Include it in the request header:
| Header | Value | Required |
|---|---|---|
X-API-Key |
Your API key | Yes |
Content-Type |
application/json | For POST requests |
๐ Core Endpoints
Convert GPS coordinates to WIA Pin Code using YUJIN Transform
Parameters:
| Parameter | Type | Description |
|---|---|---|
| lat | float | Latitude (-90 to 90) |
| lng | float | Longitude (-180 to 180) |
Example Request:
Convert WIA Pin Code back to GPS coordinates
Parameters:
| Parameter | Type | Description |
|---|---|---|
| wia | string | WIA Pin Code (e.g., "708-698-852") |
Example Request:
Validate WIA Pin Code format and checksum
Calculate distance between two WIA Pin Codes
Batch convert up to 10,000 GPS coordinates
Link phone numbers to WIA Pin Codes for delivery services
โก Rate Limits
| Tier | Requests/Day | Requests/Second | Batch Size |
|---|---|---|---|
| Free | 100 | 1 | N/A |
| Starter ($99) | 10,000 | 10 | 1,000 |
| Business ($499) | 100,000 | 50 | 100,000 |
| Enterprise ($999) | Unlimited | 100 | Unlimited |
| Government/NGO | Unlimited | 50 | Unlimited |
Every response includes rate limit information:
X-RateLimit-Limit: Maximum requests allowedX-RateLimit-Remaining: Requests remainingX-RateLimit-Reset: Time when limit resets (Unix timestamp)
โ Error Codes
| Code | Message | Description |
|---|---|---|
| 400 | Bad Request | Invalid parameters or malformed request |
| 401 | Unauthorized | Missing or invalid API key |
| 403 | Forbidden | Access denied (e.g., free tier accessing enterprise endpoint) |
| 429 | Too Many Requests | Rate limit exceeded |
| 500 | Internal Server Error | Server error (rare) |
๐ฆ SDKs & Libraries
JavaScript/Node.js
Python
PHP
๐ Implementation Guide
For Delivery Services
For Emergency Services
โ FAQ
What is YUJIN Transform?
YUJIN Transform is the mathematical formula that powers WIA Pin Code, converting GPS coordinates to 9-digit codes. Learn more โ
Can I use the free API for my business?
No, commercial use requires a paid plan (Starter $99, Business $499, or Enterprise $999/month). The free tier is for personal use, education, and testing only.
How accurate is WIA Pin Code?
WIA Pin Code provides 11cm precision at the equator, with even better precision at higher latitudes. This is more accurate than most GPS devices.
Is the API available in my country?
Yes! WIA Pin Code works globally. Government and NGO usage is free in 50+ developing nations.
๐ค Ready to Get Started?
Join thousands of developers using WIA Pin Code API
Questions? Email us at wiasoom@smilestory.ai