API reference
Homepage campaign feed
Returns a curated active public campaign feed of up to72 records for an optional country; it is not a paginated full index.
https://api.sparkglim.net/api/public/homepage/campaignsAccess model
- Access model
- Public access with validation
- Documented availability
- Implemented in source
Availability is verified from source, not a live production guarantee.
Active public campaigns only, at most72; no pagination.
Parameters
| Name | Type | Validation |
|---|---|---|
countryOptionalFilter by the campaign’s configured country; this does not enable payment methods or convert currency. | string | Validation: ISO2. |
Request
Examples describe the contract and are not executed. Use authorized test records; never paste a real secret into these pages.
GET /api/public/homepage/campaigns HTTP/1.1
Host: api.sparkglim.netResponse
{
"success": true,
"data": {
"campaigns": [],
"countries": [],
"available": true
}
}{
"success": false,
"error": "<ERROR_MESSAGE>"
}Validation, permissions, unavailable records and temporary service failures use the handler’s HTTP status and error payload.
Limits & retries
Default Server limit: 100 requests per IP per 60 seconds. Resource-specific controls also apply.
Source compatibility
Authorized operations require account-specific testing.
server/src/api/routes/public-homepage.ts