SENLAY

Sensory Intelligence Layer

API Documentation

Give any AI agent real-time physical world awareness with one API call

Overview

Senlay provides the Physical World Model — a real-time, multi-layered representation of physical reality at any coordinate on Earth. One API call gives your AI agent complete environmental awareness: atmosphere, ocean, terrain, air quality, and satellite observation.

Authentication

Authorization: Bearer sl_live_your_key_here

Get your key: senlay.world/register

Endpoint: GET /api/v1/pwm

Returns the complete Physical World Model for any location.

Parameters

ParameterRequiredDescription
latYesLatitude (-90 to 90)
lngYesLongitude (-180 to 180)

Response

The response includes:

Example Request

curl -H "Authorization: Bearer sl_live_your_key" \ "https://senlay.world/api/v1/pwm?lat=36.01&lng=-5.60"

Quick Start with Claude

import anthropic, requests # 1. Get Physical World Model from Senlay pwm = requests.get( "https://senlay.world/api/v1/pwm", params={"lat": 36.01, "lng": -5.60}, headers={"Authorization": "Bearer sl_live_your_key"} ).json() # 2. Give your AI physical senses client = anthropic.Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", system=f"You have real-time physical world awareness:\n\n{pwm['context_string']}", messages=[{"role": "user", "content": "Is it safe to kitesurf here right now?"}] ) print(response.content[0].text)

Quick Start with OpenAI

from openai import OpenAI import requests pwm = requests.get( "https://senlay.world/api/v1/pwm", params={"lat": 36.01, "lng": -5.60}, headers={"Authorization": "Bearer sl_live_your_key"} ).json() client = OpenAI() response = client.chat.completions.create( model="gpt-4o", messages=[ {"role": "system", "content": f"Physical World Model:\n\n{pwm['context_string']}"}, {"role": "user", "content": "Should I fly my drone here today?"} ] ) print(response.choices[0].message.content)

Quick Start with JavaScript

const pwmRes = await fetch( "https://senlay.world/api/v1/pwm?lat=36.01&lng=-5.60", { headers: { Authorization: "Bearer sl_live_your_key" } } ); const pwm = await pwmRes.json(); // Inject into any AI provider's system prompt: const systemPrompt = `You are aware of the physical world:\n\n${pwm.context_string}`; // Works with Claude, OpenAI, Gemini, Llama, Mistral — any LLM.

Physical World Model Layers

LayerDataSource
AtmosphereWind, temperature, pressure, humidity, clouds, 24h forecastOpen-Meteo
HydrosphereWaves, swell, period, direction (coastal locations)Open-Meteo Marine
Lithosphere / BathymetryElevation or ocean depth, 9-point terrain profileOpen-Meteo Elevation
Air QualityPM2.5, PM10, UV index, European AQIOpen-Meteo Air Quality
SatelliteSentinel-2 imagery metadata, Google satellite viewCopernicus, Google

Rate Limits

TierDaily LimitPrice
Free100 requests/day$0
Pro10,000 requests/dayContact us
EnterpriseUnlimitedContact us

Use Cases

Get Your API Key