List Education Providers
LIVEQuick Summary
Returns all available exam checker providers on the Pairgate platform. Use this endpoint to get provider slugs needed for purchasing WAEC, NECO, and NABTEB exam pins.
Endpoint
Send a GET request to retrieve all education providers. No request body or query parameters are required.
Production URL
https://pairgate.com/api/v1/providers/education
Method
GET
Test Endpoint
https://pairgate.com/api/v1/test/providers/education
Authentication
This request requires a valid Bearer token.
| Header | Value | Description |
|---|---|---|
Authorization |
Bearer {token}
|
Your unique API authorization token |
Code Examples
Choose your preferred language below. Replace YOUR_API_KEY with your actual API key.
PHP (Laravel)
// List Education Providers
$response = Http::withHeaders([
'Authorization' => 'Bearer YOUR_API_KEY',
'Cache-Control' => 'no-cache',
])->get('https://pairgate.com/api/v1/providers/education');
$result = $response->json();
dd($result);
cURL
curl -X GET "https://pairgate.com/api/v1/providers/education" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Cache-Control: no-cache"
Node.js
const axios = require('axios');
const getEducationProviders = async () => {
try {
const response = await axios.get(
'https://pairgate.com/api/v1/providers/education',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Cache-Control': 'no-cache'
}
}
);
console.log(response.data);
} catch (error) {
console.error(error.response?.data || error.message);
}
};
getEducationProviders();
Python
import requests
url = "https://pairgate.com/api/v1/providers/education"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Cache-Control": "no-cache"
}
try:
response = requests.get(url, headers=headers)
response.raise_for_status()
data = response.json()
print(data)
except requests.exceptions.RequestException as e:
print(f"Error: {e}")
Java
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.URI;
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://pairgate.com/api/v1/providers/education"))
.header("Authorization", "Bearer YOUR_API_KEY")
.header("Cache-Control", "no-cache")
.GET()
.build();
try {
HttpResponse response = client.send(request,
HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
} catch (Exception e) {
System.err.println("Error: " + e.getMessage());
}
Response Format
A successful request returns a 200 status with an array of exam checker providers.
Success Response (200)
{
"code": 200,
"status": "success",
"data": [
{
"id": "a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6",
"name": "WAEC",
"slug": "waec"
},
{
"id": "b2c3d4e5-6f7g-8h9i-0j1k-l2m3n4o5p6q7",
"name": "NECO",
"slug": "neco"
},
{
"id": "c3d4e5f6-7g8h-9i0j-1k2l-m3n4o5p6q7r8",
"name": "NABTEB",
"slug": "nabt"
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
id |
string | Provider UUID |
name |
string | Exam body display name |
slug |
string | Short identifier for purchase requests |
Available Providers
| Name | Slug |
|---|---|
| WAEC | waec |
| NECO | neco |
| NABTEB | nabt |
Error Responses
The following errors may occur when calling this endpoint.
| Status | Code | Description |
|---|---|---|
| 401 | Missing API key |
No Bearer token provided |
| 401 | Invalid API key |
Token does not match any active key |
| 403 | Suspended |
API key or account has been suspended |
| 429 | Rate limited |
Too many requests |