ToolAssay

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-10-02
1 of 1checks answered this week
903 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

CategoryEverything else
Provider hostx402.agentindex.world
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-02 valid payment request 402$0.001 903 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"
}

This page as JSON