Query parameters

  • q string Required
  • lng number(double) Required
  • lat number(double) Required
  • radius number(double)
  • auto boolean
  • page integer(int32)
  • size integer(int32)

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string

      Values are 100 CONTINUE, 101 SWITCHING_PROTOCOLS, 102 PROCESSING, 103 EARLY_HINTS, 103 CHECKPOINT, 200 OK, 201 CREATED, 202 ACCEPTED, 203 NON_AUTHORITATIVE_INFORMATION, 204 NO_CONTENT, 205 RESET_CONTENT, 206 PARTIAL_CONTENT, 207 MULTI_STATUS, 208 ALREADY_REPORTED, 226 IM_USED, 300 MULTIPLE_CHOICES, 301 MOVED_PERMANENTLY, 302 FOUND, 302 MOVED_TEMPORARILY, 303 SEE_OTHER, 304 NOT_MODIFIED, 305 USE_PROXY, 307 TEMPORARY_REDIRECT, 308 PERMANENT_REDIRECT, 400 BAD_REQUEST, 401 UNAUTHORIZED, 402 PAYMENT_REQUIRED, 403 FORBIDDEN, 404 NOT_FOUND, 405 METHOD_NOT_ALLOWED, 406 NOT_ACCEPTABLE, 407 PROXY_AUTHENTICATION_REQUIRED, 408 REQUEST_TIMEOUT, 409 CONFLICT, 410 GONE, 411 LENGTH_REQUIRED, 412 PRECONDITION_FAILED, 413 PAYLOAD_TOO_LARGE, 413 REQUEST_ENTITY_TOO_LARGE, 414 URI_TOO_LONG, 414 REQUEST_URI_TOO_LONG, 415 UNSUPPORTED_MEDIA_TYPE, 416 REQUESTED_RANGE_NOT_SATISFIABLE, 417 EXPECTATION_FAILED, 418 I_AM_A_TEAPOT, 419 INSUFFICIENT_SPACE_ON_RESOURCE, 420 METHOD_FAILURE, 421 DESTINATION_LOCKED, 422 UNPROCESSABLE_ENTITY, 423 LOCKED, 424 FAILED_DEPENDENCY, 425 TOO_EARLY, 426 UPGRADE_REQUIRED, 428 PRECONDITION_REQUIRED, 429 TOO_MANY_REQUESTS, 431 REQUEST_HEADER_FIELDS_TOO_LARGE, 451 UNAVAILABLE_FOR_LEGAL_REASONS, 500 INTERNAL_SERVER_ERROR, 501 NOT_IMPLEMENTED, 502 BAD_GATEWAY, 503 SERVICE_UNAVAILABLE, 504 GATEWAY_TIMEOUT, 505 HTTP_VERSION_NOT_SUPPORTED, 506 VARIANT_ALSO_NEGOTIATES, 507 INSUFFICIENT_STORAGE, 508 LOOP_DETECTED, 509 BANDWIDTH_LIMIT_EXCEEDED, 510 NOT_EXTENDED, or 511 NETWORK_AUTHENTICATION_REQUIRED.

    • code integer(int32)
    • message string
    • data object
      Hide data attributes Show data attributes object
      • best object
        Hide best attributes Show best attributes object
        • id string(uuid)
        • name string
        • avatar string
        • rating number(double)
        • distance number(double)
        • image string
        • category string
        • status string

          Values are ONLINE, OFFLINE, BUSY, NONE, or REQUESTSHARING.

        • more object
          Hide more attributes Show more attributes object
          • last_signed_in string
          • number_of_rating integer(int32)
          • number_of_shops integer(int32)
          • total_service_trips integer(int32)
          • total_shared integer(int32)
        • business object
          Hide business attributes Show business attributes object
          • name string
          • description string
          • address string
        • specializations array[object]
          Hide specializations attributes Show specializations attributes object
          • id integer(int64)
          • special string
          • category string
          • image string
          • avatar string
        • distance_in_km string
        • verification_status string

          Values are REQUESTED, VERIFIED, NOT_VERIFIED, NONE, or ERROR.

      • providers array[object]
        Hide providers attributes Show providers attributes object
        • id string(uuid)
        • name string
        • avatar string
        • rating number(double)
        • distance number(double)
        • image string
        • category string
        • status string

          Values are ONLINE, OFFLINE, BUSY, NONE, or REQUESTSHARING.

        • more object
          Hide more attributes Show more attributes object
          • last_signed_in string
          • number_of_rating integer(int32)
          • number_of_shops integer(int32)
          • total_service_trips integer(int32)
          • total_shared integer(int32)
        • business object
          Hide business attributes Show business attributes object
          • name string
          • description string
          • address string
        • specializations array[object]
          Hide specializations attributes Show specializations attributes object
          • id integer(int64)
          • special string
          • category string
          • image string
          • avatar string
        • distance_in_km string
        • verification_status string

          Values are REQUESTED, VERIFIED, NOT_VERIFIED, NONE, or ERROR.

      • shops array[object]
        Hide shops attributes Show shops attributes object
        • user string(uuid)
        • distance number(double)
        • shop object
          Hide shop attributes Show shop attributes object
          • name string
          • category string
          • image string
          • open boolean
          • status string

            Values are OPEN, SUSPENDED, or CLOSED.

          • rating number(double)
          • id string
          • address string
          • phone string
          • latitude number(double)
          • longitude number(double)
          • current object
            Hide current attributes Show current attributes object
            • id integer(int64)
            • day string
            • opening string
            • closing string
            • open boolean
          • weekdays array[object]
            Hide weekdays attributes Show weekdays attributes object
            • id integer(int64)
            • day string
            • opening string
            • closing string
            • open boolean
          • services array[object]
            Hide services attributes Show services attributes object
            • id integer(int64)
            • service string
        • is_google boolean
        • distance_in_km string
GET /active/search
curl \
 --request GET 'https://sandbox.serchservice.com/api/v1/active/search?q=string&lng=42.0&lat=42.0' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY"
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": {
    "best": {
      "id": "string",
      "name": "string",
      "avatar": "string",
      "rating": 42.0,
      "distance": 42.0,
      "image": "string",
      "category": "string",
      "status": "ONLINE",
      "more": {
        "last_signed_in": "string",
        "number_of_rating": 42,
        "number_of_shops": 42,
        "total_service_trips": 42,
        "total_shared": 42
      },
      "business": {
        "name": "string",
        "description": "string",
        "address": "string",
        "logo": "string"
      },
      "specializations": [
        {
          "id": 42,
          "special": "string",
          "category": "string",
          "image": "string",
          "avatar": "string"
        }
      ],
      "distance_in_km": "string",
      "verification_status": "REQUESTED"
    },
    "providers": [
      {
        "id": "string",
        "name": "string",
        "avatar": "string",
        "rating": 42.0,
        "distance": 42.0,
        "image": "string",
        "category": "string",
        "status": "ONLINE",
        "more": {
          "last_signed_in": "string",
          "number_of_rating": 42,
          "number_of_shops": 42,
          "total_service_trips": 42,
          "total_shared": 42
        },
        "business": {
          "name": "string",
          "description": "string",
          "address": "string",
          "logo": "string"
        },
        "specializations": [
          {
            "id": 42,
            "special": "string",
            "category": "string",
            "image": "string",
            "avatar": "string"
          }
        ],
        "distance_in_km": "string",
        "verification_status": "REQUESTED"
      }
    ],
    "shops": [
      {
        "user": "string",
        "distance": 42.0,
        "shop": {
          "name": "string",
          "category": "string",
          "image": "string",
          "logo": "string",
          "open": true,
          "status": "OPEN",
          "rating": 42.0,
          "id": "string",
          "address": "string",
          "phone": "string",
          "latitude": 42.0,
          "longitude": 42.0,
          "link": "string",
          "current": {
            "id": 42,
            "day": "string",
            "opening": "string",
            "closing": "string",
            "open": true
          },
          "weekdays": [
            {
              "id": 42,
              "day": "string",
              "opening": "string",
              "closing": "string",
              "open": true
            }
          ],
          "services": [
            {
              "id": 42,
              "service": "string"
            }
          ]
        },
        "is_google": true,
        "distance_in_km": "string"
      }
    ]
  }
}