Adapter location API
The location API from Adapter — 1 operation(s) for location.
The location API from Adapter — 1 operation(s) for location.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/adapter-location-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Adapter Adapter Location API
version: 0.1.0
servers:
- url: https://api.adapter.com
description: Base URL reconciled from apis.yml
tags:
- name: location
paths:
/users/me/location:
post:
tags:
- location
summary: Ping Location
operationId: ping_location_users_me_location_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LocationPing'
required: true
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
LocationPing:
properties:
device_type:
type: string
title: Device Type
description: ' (browser, mobile_ios, mobile_android, sms)'
user_id:
type: string
title: User Id
description: ID of the user this location belongs to
timestamp:
type: string
format: date-time
title: Timestamp
description: Client-reported timestamp of the location
server_timestamp:
type: string
format: date-time
title: Server Timestamp
description: Server-recorded timestamp of when data was received
latitude:
anyOf:
- type: number
- type: 'null'
title: Latitude
description: Latitude coordinate
longitude:
anyOf:
- type: number
- type: 'null'
title: Longitude
description: Longitude coordinate
accuracy:
anyOf:
- type: number
- type: 'null'
title: Accuracy
description: Accuracy of the location in meters
altitude:
anyOf:
- type: number
- type: 'null'
title: Altitude
description: Altitude in meters
speed:
anyOf:
- type: number
- type: 'null'
title: Speed
description: Speed in meters per second
heading:
anyOf:
- type: number
- type: 'null'
title: Heading
description: Direction of travel in degrees
device_id:
anyOf:
- type: string
- type: 'null'
title: Device Id
description: Unique identifier for the device
address:
anyOf:
- type: string
- type: 'null'
title: Address
description: Generic address string representation of the location
timezone:
anyOf:
- type: string
- type: 'null'
title: Timezone
description: Timezone identifier for the location
app_version:
anyOf:
- type: string
- type: 'null'
title: App Version
description: Version of the client application
additional_data:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Additional Data
description: Flexible container for any additional data provided by specific clients
additionalProperties: true
type: object
required:
- device_type
- user_id
- timestamp
title: LocationPing
description: Model for receiving location data from clients with minimal validation for fast ingestion
securitySchemes:
HTTPBasic:
type: http
scheme: basic
HTTPBearer:
type: http
scheme: bearer