Powered by YUJIN Transform
Free tier available • Enterprise solutions • 11cm precision globally
The WIA Code API provides programmatic access to the YUJIN Transform algorithm, converting GPS coordinates to 9-digit universal location codes.
YUJIN(φ,λ) = [⌊((φ+90)/180)×999999⌋]-[⌊((λ+180)/360)×999⌋]
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 |
Convert GPS coordinates to WIA Code using YUJIN Transform
Parameter | Type | Description |
---|---|---|
lat | float | Latitude (-90 to 90) |
lng | float | Longitude (-180 to 180) |
Convert WIA Code back to GPS coordinates
Parameter | Type | Description |
---|---|---|
wia | string | WIA Code (e.g., "708-698-852") |
Validate WIA Code format and checksum
Calculate distance between two WIA Codes
Batch convert up to 10,000 GPS coordinates
Link phone numbers to WIA Codes for delivery services
Tier | Requests/Day | Requests/Second | Batch Size |
---|---|---|---|
Free | 100 | 1 | N/A |
Enterprise | Unlimited | 100 | 10,000 |
Government/NGO | Unlimited | 50 | 10,000 |
X-RateLimit-Limit
: Maximum requests allowedX-RateLimit-Remaining
: Requests remainingX-RateLimit-Reset
: Time when limit resets (Unix timestamp)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) |
YUJIN Transform is the mathematical formula that powers WIA Code, converting GPS coordinates to 9-digit codes. Learn more →
No, commercial use requires an Enterprise license ($999/month). The free tier is for personal use, education, and testing only.
WIA Code provides 11cm precision at the equator, with even better precision at higher latitudes. This is more accurate than most GPS devices.
Yes! WIA Code works globally. Government and NGO usage is free in 50+ developing nations.
Join thousands of developers using WIA Code API
Questions? Email us at contact@wiacode.com