Japan Neighborhoods

Japan Neighborhoods — keyless JSON API

🏛 GovernmentUNMONITORED
AUTH NONECORS AGENT ?HTTPS COMMERCIAL ?

Japan Neighborhoods. Tokyo neighborhood crime statistics, safety scores, and station data (5,078 areas, 2018-2024)

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://japanneighborhoods.com/openapi.json

{
  "openapi": "3.1.0",
  "info": {
    "title": "Japan Neighborhoods API",
    "description": "Free REST API for Tokyo neighborhood crime statistics. 5,078 neighborhoods, 7 years of data (2018-2024), 37 crime categories. Sourced from Tokyo Metropolitan Police Department open data.",
    "version": "1.0.0",
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    },
    "contact": {
      "name": "Japan Neighborhoods",
      "url": "https://japanneighborhoods.com/developers"
    }
  },
  "servers": [
    {
      "url": "https://japanneighborhoods.com/api/v1"
    }
  ],
  "paths": {
    "/wards": {
      "get": {
        "summary": "List all wards",
        "description": "Returns all 49 Tokyo wards/cities with 2024 crime summaries.",
        "operationId": "getWards",
        "responses": {
          "200": {
            "description": "List of wards with crime data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Ward"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/wards/{slug}": {
      "get": {
        "summary": "Get ward detail",
        "description": "Returns ward detail with all neighborhoods and crime data.",
        "operationId": "getWard",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "shibuya"
          }
        ],
        "responses": {
          "200": {
            "description": "Ward detail with neighborhoods"
          },
          "404": {
            "description": "Ward not found"
          }
        }
      }
    },
    "/neighborhoods/{ward}/{neighborhood}": {
      "get": {
        "summary": "Get neighborhood detail",
        "description": "Full neighborhood detail: 7-year crime history, breakdown, safety grade, nearest stations.",
        "operationId": "getNeighborhood",
        "parameters": [
          {
            "name": "ward",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "shibuya"
          },
          {
            "name": "neighborhood",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "jingumae-1"
          }
        ],
        "responses": {
          "200": {
            "description": "Neighborhood detail with crime history and stations"
          },
          "404": {
            "description": "Neighborhood not found"
          }
        }
      }
    },
    "/rankings/safest": {
      "get": {
        "summary": "Safest neighborhoods ranking",
        "description": "Top 50 safest neighborhoods in Tokyo (2024).",
        "operationId": "getSafestRankings",
        "responses": {
          "200": {
            "description": "Ranked list of safest neighborhoods"
          }
        }
      }
    },
    "/crime/trends": {
      "get": {
        "summary": "City-wide crime trends",
        "description": "Annual crime trends for Tokyo 23 special wards (2018-2024) with category breakdowns.",
        "operationId": "getCrimeTrends",
        "responses": {
          "200": {
            "description": "Annual trends and 2024 breakdown"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Ward": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name_en": {
            "type": "string"
          },
          "name_ja": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "total_crimes_2024": {
            "type": "integer"
          },
          "neighborhood_count": {
            "type": "integer"
          },
          "avg_crime_rate_per_1000": {
            "type": "number"
          }
        }
      },
      "Meta": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer"
          },
          "year": {
            "type": "integer"
          },
          "source": {
            "type": "string"
          },
          "license": {
            "type": "string"
          },
          "attribution": {
            "type": "string"
          }
        }
      }
    }
  }
}
Call itcurl · fetch · python
curl "https://japanneighborhoods.com/openapi.json"
const res = await fetch("https://japanneighborhoods.com/openapi.json");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://japanneighborhoods.com/openapi.json")
print(res.json())
Endpoints · 2On scheduleFULL DOCS ↗
On schedule — GET /openapi.json awaits first probe
GET/openapi.jsonPROBED

Japan Neighborhoods — keyless JSON API

GET/openapi.json?limit=5

Paginated variant with limit parameter.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

Japan Neighborhoods: common questions

Is Japan Neighborhoods free to use?

Yes — Japan Neighborhoods is a free government API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does Japan Neighborhoods need an API key?

No — Japan Neighborhoods needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call Japan Neighborhoods from the browser?

Yes — Japan Neighborhoods returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is Japan Neighborhoods up right now?

Japan Neighborhoods is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.