Ray-casting point-in-polygon test (planar approximation
Ray-casting point-in-polygon test (planar approximation - fine for city/region-scale polygons).
Answeringour last check, 2026-11-28
7 of 7checks answered this week
1147 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://x402.agentindex.world/geo/point-in-polygon
| Category | Everything else |
|---|---|
| Provider host | x402.agentindex.world |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-28 | valid payment request | 402 | $0.001 | 990 ms |
| 2026-11-27 | valid payment request | 402 | $0.001 | 1200 ms |
| 2026-11-26 | valid payment request | 402 | $0.001 | 1694 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 1147 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 973 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 1580 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 975 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 937 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 955 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 987 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 1251 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 1027 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 924 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 953 ms |
| 2026-11-14 | valid payment request | 402 | $0.001 | 984 ms |
| 2026-11-13 | valid payment request | 402 | $0.001 | 1091 ms |
| 2026-11-06 | valid payment request | 402 | $0.001 | 893 ms |
| 2026-11-05 | valid payment request | 402 | $0.001 | 881 ms |
| 2026-11-04 | valid payment request | 402 | $0.001 | 883 ms |
| 2026-11-03 | valid payment request | 402 | $0.001 | 925 ms |
| 2026-11-02 | valid payment request | 402 | $0.001 | 891 ms |
| 2026-11-01 | valid payment request | 402 | $0.001 | 2469 ms |
| 2026-10-31 | valid payment request | 402 | $0.001 | 982 ms |
Example input (from the provider)
{
"body": {
"point": {
"lat": 1,
"lon": 1
},
"polygon": [
{
"lat": 0,
"lon": 0
},
{
"lat": 0,
"lon": 4
},
{
"lat": 4,
"lon": 4
},
{
"lat": 4,
"lon": 0
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"point": {
"properties": {
"lat": {
"maximum": 90,
"minimum": -90,
"title": "Lat",
"type": "number"
},
"lon": {
"maximum": 180,
"minimum": -180,
"title": "Lon",
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"title": "LatLon",
"type": "object"
},
"polygon": {
"items": {
"properties": {
"lat": {
"maximum": 90,
"minimum": -90,
"title": "Lat",
"type": "number"
},
"lon": {
"maximum": 180,
"minimum": -180,
"title": "Lon",
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"title": "LatLon",
"type": "object"
},
"minItems": 3,
"title": "Polygon",
"type": "array"
}
},
"required": [
"point",
"polygon"
],
"title": "PointInPolygonInput",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"inside": {
"title": "Inside",
"type": "boolean"
}
},
"required": [
"inside"
],
"title": "PointInPolygonOutput",
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}