Skip to main content
GET
/
user
/
nearby-djs
/
location
Get nearby DJs by city, state, and country
curl --request GET \
  --url https://jamquest-dev.techboo.net/api/v1/user/nearby-djs/location \
  --header 'Authorization: Bearer <token>'
{
  "status": "ok",
  "message": "<string>",
  "data": {
    "current_page": 123,
    "data": [
      {
        "id": 123,
        "name": "<string>",
        "email": "[email protected]",
        "phone": "<string>",
        "is_dj": true,
        "city": "<string>",
        "state": "<string>",
        "country": "<string>",
        "latitude": 123,
        "longitude": 123,
        "distance": 123
      }
    ],
    "first_page_url": "<string>",
    "from": 123,
    "last_page": 123,
    "last_page_url": "<string>",
    "links": [
      {
        "url": "<string>",
        "label": "<string>",
        "active": true
      }
    ],
    "next_page_url": "<string>",
    "path": "<string>",
    "per_page": 123,
    "prev_page_url": "<string>",
    "to": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.

Query Parameters

city
string
required

City to search for DJs

state
string
required

State to search for DJs

country
string
required

Country to search for DJs

limit
integer
default:15

Number of DJs per page.

page
integer
default:1

Page number for pagination.

Response

Successful response

status
string
Example:

"ok"

message
string
data
object