1. Introduction
2. API Overview
3. Getting an API Key
4. Authentication
5. Read APIs
6. Spot Submit API
7. Request Examples
8. Response Examples
9. Error Handling
10. Rate Limits
11. Best Practices
12. Migration from Version 1
13. FAQ
14. Changelog
15. Contact
---
The GMA API allows external software to retrieve GMA/WWFF spot data and submit new GMA spots.
Beginning with Version 2, API key authentication replaces legacy USER/PASSWORD authentication.
Two API key types exist:
| Prefix | Purpose |
|--------|---------|
| GMA- | Read APIs |
| GMS- | Spot submission |
Each key type is restricted to its intended purpose.
---
Read APIs
Time values use UTC.
---
API keys are issued by the GMA administrators.
Please include:
Software: SmartGMA
Author: John Doe
Purpose: GMA spotting software
Each application should use its own API key.
---
Preferred:
X-API-Key header
Example
X-API-Key: GMA-xxxxxxxx
Alternative:
?key=GMA-xxxxxxxx
Spot submission also accepts API_KEY inside the JSON body.
---
GET /api/spots/gma/
GET /api/spots/10/
GET /api/spots/25/
GET /api/spots/wwff/
Example:
curl -H "X-API-Key: GMA-xxxxxxxx" https://www.gma.rocks/api/spots/gma/
---
Endpoint
POST /api/spot-submit/
Authentication
Valid GMS key required.
Required fields
{
"SPOT":[
{
"MYCALL":"DL4MFM",
"ACTIVATOR":"DL4MFM/P",
"REF":"DA/NI-001",
"KHZ":"7032.0",
"MODE":"CW",
"REMARKS":"CQ GMA"
}
]
}
Dry run
Add
"DRY_RUN":1
to validate without inserting a spot.
---
Read:
curl -H "X-API-Key: GMA-xxxxxxxx" https://www.gma.rocks/api/spots/25/
Submit:
curl -X POST -H "Content-Type: application/json" -H "X-API-Key: GMS-xxxxxxxx"
---
Success
{
"ok":true,
"Inserted_Spots":"1"
}
Dry run
{
"ok":true,
"DRY_RUN":"ok",
"Inserted_Spots":"0"
}
---
| HTTP | Meaning |
|------|---------|
|200|Success|
|400|Invalid request|
|401|Missing API key|
|403|Invalid or unauthorized key|
|405|Wrong HTTP method|
|429|Rate limit exceeded|
|500|Internal error|
|503|Service unavailable|
---
Maximum one request per minute.
Maximum 1440 requests per UTC day.
Every request counts.
---
Legacy USER/PASSWORD authentication is deprecated.
All new software should use API keys.
---
Can a GMA key submit spots?
No.
Can a GMS key read spot lists?
No.
Can API keys be revoked?
Yes.
---
Website
https://www.gma.rocks
Support
support@gma.rocks
---
© 2026 Global Mountain Activity
Thank you for supporting the GMA community.