RAID API
  1. DiveRAID frontend public API
  • DiveRAID frontend public API
    • Search divers
      POST
    • Search instructors
      POST
    • Search dive centers
      POST
    • Search dive centers by country
      GET
  • DiveRAID rest API V1
    • Auth
      • Register a new user
      • Login and get a Sanctum token
      • Send password reset email
      • Reset password using token
      • Logout and revoke the current token
      • Resend email verification
      • Complete a two-factor login and get a Sanctum token
    • Profile
      • The user resource
      • Get authenticated user profile
      • Update profile
      • Register push token
      • Update password
      • Remove push token
      • Rotate exam unlock code
      • Delete account
      • Update dive center association
    • Diver
      • Shared diver resources
      • Courses
        • List active courses
        • Get exam result
        • Submit course exam
        • Sign skills (diver)
        • Get course detail
        • Submit module quiz
        • List expired courses
        • Get quiz result
        • Get skills progress
      • Free Learnings
        • List enrolled free learnings
        • Get free learning quiz result
        • List available free learning courses
        • Submit free learning module quiz
        • Get free learning detail
        • Enroll in a free learning course
      • Certifications
        • Get certification history
        • Get certification quiz result
        • Get certification exam result
        • Get certification skills
        • List diver certifications
      • Dive Logs
        • Delete dive log
        • Create dive log
        • Update dive log
        • List loggable courses
        • List dive logs (paginated)
        • Get dive log
      • Awards
        • List the recognition cards issued to the user
      • Documents
        • Upload own medical certificate or insurance
        • List own medical certificates and insurance
        • List diver documents
      • Forms
        • List diver forms
      • Medical
        • Get medical questionnaire structure
        • Submit medical questionnaire
      • Store
        • List courses available for purchase
        • Get order status
    • Professional
      • Students
        • List students
        • Get student progress
        • Sign student skills
        • Get student exam result
        • Get student quiz result
        • Get student skills progress
      • Certifications
        • Get certification history
        • Get certification quiz result
        • Get certification exam result
        • Get certification skills
        • List all professional certifications
        • List diver-level certifications
        • List examiner certifications
        • List professional certifications
        • List specialty certifications
        • List trainer certifications
      • Classroom
        • List classrooms
        • Get classroom progress (all students)
        • Get classroom student progress
        • Sign classroom student skills
        • Get classroom student exam result
        • Get classroom student quiz result
        • Get classroom student skills
      • Renewals
        • List renewal courses
        • Get renewal exam result
        • Submit renewal exam
        • Sign renewal skills
        • Renewal status
        • Get renewal progress
        • Submit renewal module quiz
        • Get renewal quiz result
        • Get renewal skills progress
      • Dive Logs
        • Get student dive log
        • Sign student dive log
        • List student dive logs for a course
    • Sync
      • Download full course data for offline use
      • Upload offline operations
      • Get sync status
    • Public
      • List all countries
      • Dive-log enum values with labels in the response language
      • Get country data
      • Get country divisions (states/provinces)
      • List time zone identifiers, optionally narrowed to one country
      • List, search, and radius-search publicly visible dive centres
      • Every publicly visible, geolocated dive centre as a map marker
      • Countries with at least one publicly visible dive centre
      • Full detail of one publicly visible dive centre
    • Library
      • List the RAID document library
      • List the current RAID standards
  • Schemas
    • Frontend API Schema
      • DiverSearch
    • SuccessResponse
    • DiverCertification
    • ValidationErrorResponse
    • TwoFactorChallengeResponse
    • TokenResponse
    • IssuedCertification
    • ErrorResponse
    • DiveLog
    • ExamResult
    • QuizResult
    • CourseLogDetail
    • CourseLog
    • UserProfile
    • SkillProgress
    • Certification
    • PaginatedDiveLogs
    • StoreItem
    • PaymentIntentResponse
    • OrderConfirmResponse
    • OrderStatusResponse
    • InstructorSearch
    • DiveCenterSearch
  1. DiveRAID frontend public API

Search dive centers

POST
https://test.diveraid.com/api/v1/dive_center
Search (API Key)
Maintainer:rivalex

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 Key
Header: token: {your-api-key}

Request#

Method: POST
Path: /api/v1/dive_center
Content-Type: application/json or application/x-www-form-urlencoded

Body parameters#

ParameterTypeRequiredDescription
searchstringNoFree text - searches across: name, city, email, raid_id
countrystringNoISO 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#

FieldTypeDescription
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 by name:
{ "search": "Blue Ocean" }
Filter by country:
{ "country": "IT" }
Combined search:
{ "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.

Source: docs/api/search/POST_dive_center.md

Request

Authorization
API Key
Add parameter in header
token
Example:
token: ********************
or
Query Params

Responses

🟢200
application/json
Search results
Bodyapplication/json

🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.diveraid.com/api/v1/dive_center?search=&country=' \
--header 'token: <api-key>'
Response Response Example
200 - Example 1
{
    "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-10-07 08:54:23
Previous
Search instructors
Next
Search dive centers by country
Built with