DiveRAID frontend public API Run in Apidog
DiveCenter Frontend Public ApiKey
POST /api/v1/dive_center# Overview# Searches active dive centers in the RAID network. Returns public profile data including collaborators, social media links, and manager. Only active dive centers with an expiry date no older than one year are returned. Authentication# Type: API KeyHeader: token: {your-api-key}Request# Method: POSTPath: /api/v1/dive_centerContent-Type: application/json or application/x-www-form-urlencodedBody parameters# Parameter Type Required Description searchstringNo Free text - searches across: name, city, email, raid_id countrystringNo ISO 3166-1 alpha-2 country code (e.g. IT, ES)
Both parameters are optional. If neither is provided, all active dive centers are returned. Response 200 OK - Results found# {
"data" : [
{
"raid_id" : "RAID-DC-00123" ,
"name" : "Blue Ocean Dive Center" ,
"email" : "info@blueocean.com" ,
"country" : "Italy" ,
"city" : "Palermo" ,
"mobile" : "+39 091 1234567" ,
"manager" : "Luca Marino" ,
"distributor" : "RAID Italy" ,
"logo" : "https://s3.amazonaws.com/diveraid/logos/7.jpg" ,
"collaborators" : {
"Marco Rossi" : "Open Water Instructor" ,
"Sara Neri" : "Rescue Instructor"
} ,
"socials" : {
"facebook" : "https://facebook.com/blueocean" ,
"instagram" : "https://instagram.com/blueocean" ,
"website" : "https://www.blueocean.com"
} ,
"expire_date" : "15/06/2025"
}
] ,
"success" : true ,
"message" : "success" ,
"total" : 1
} Response 200 OK - No results# {
"data" : [ ] ,
"success" : true ,
"message" : "no results" ,
"total" : 0
} data[] fields# Field Type Description raid_idstringDive center's unique RAID identifier namestringDive center name emailstring|nullContact email countrystringFull country name (e.g. "Italy") citystring|nullCity mobilestring|nullPhone number managerstringName of the dive center manager distributorstringRAID distributor name logostring|nullLogo URL collaboratorsobjectMap {name: qualification} of collaborating instructors socialsobjectMap {platform: url} of social media profiles (e.g. facebook, instagram, website) expire_datestringRAID membership expiry date (locale format, e.g. 15/06/2025)
Response 401 - Missing or invalid API Key# {
"error" : "Access Denied!" ,
"message" : "No API Key provided." ,
"statusCode" : 401
} Automatic filters# Dive centers are pre-filtered before applying search parameters: status = true - active dive centers only
expire_date >= now() - 1 year - excludes dive centers expired more than one year ago
Search examples# All active dive centers (no filter): { "search" : "Blue Ocean" } { "search" : "diving" , "country" : "ES" } Notes# Search is case-insensitive using LIKE %search%.
Results are ordered by name ASC.
collaborators is an object (not an array) - keys are instructor names.
socials is an object - keys are the configured social platform names.
The country field in the response is the full country name , not the ISO code.
Request Add parameter in header token
Example: token: ********************
or
Request Code Samples
curl --location --request POST 'https://diveraid.test/api/v1/dive_center?search=undefined&country=undefined' \
--header 'token: <api-key>' Responses
{
"success" : true ,
"message" : "string" ,
"total" : 0 ,
"data" : [
{
"raid_id" : "string" ,
"name" : "string" ,
"email" : "string" ,
"country" : "string" ,
"city" : "string" ,
"mobile" : "string" ,
"manager" : "string" ,
"distributor" : "string" ,
"logo" : "string" ,
"collaborators" : {
"property1" : "string" ,
"property2" : "string"
} ,
"socials" : {
"property1" : "string" ,
"property2" : "string"
} ,
"expire_date" : "2019-08-24"
}
]
}
Modified at 2026-04-14 15:00:59