{"uid":"cap_-h7gIWNAv0KA59e9aXDGH","slug":"halowerk-gentrification-index-calculator-670b18e6","name":"Halowerk Gentrification Index Calculator","description":"Standardizes current-minus-baseline change by a supplied scale, applies an explicit direction and weight, clips extreme components, and maps the weighted result to a 0–100 descriptive index. Metric selection and interpretation remain with the caller. It does not obtain data, identify individuals, establish causation, rank residents or justify displacement decisions.","url":"https://prop.halowerk.com/v1/gentrification-index","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"metrics":{"type":"array","items":{"type":"object","required":["metric_id","baseline_value","current_value","normalization_scale","pressure_direction","weight"],"properties":{"weight":{"type":"number","maximum":1000000,"minimum":0},"metric_id":{"type":"string","maxLength":128,"minLength":1},"current_value":{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},"baseline_value":{"type":"number","maximum":1000000000000000,"minimum":-1000000000000000},"pressure_direction":{"enum":["increase","decrease"],"type":"string"},"normalization_scale":{"type":"number","maximum":1000000000000000,"minimum":1e-9}},"additionalProperties":false},"maxItems":1000,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LSJanBP4aTM7kmvMlY_XR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes current-minus-baseline metric changes by a supplied scale, applies directional weighting, clips extremes, and maps the result to a 0–100 gentrification pressure index.","exampleAgentPrompt":"Calculate the gentrification pressure index for this neighborhood using three metrics: median rent went from $1200 to $1800 (scale 2000, direction increase, weight 1), median household income went from $45000 to $62000 (scale 80000, direction increase, weight 0.8), and college-educated share went from 0.22 to 0.38 (scale 1, direction increase, weight 0.5).","exampleUseCases":[{"title":"Urban planner neighborhood change scoring","prompt":"I have rent, income, and education data for five census tracts. For tract A: baseline rent $950, current $1400, scale 2000, direction increase, weight 1.0; baseline income $38000, current $55000, scale 100000, direction increase, weight 0.7. Can you compute the gentrification index score for tract A?"},{"title":"Housing policy displacement risk assessment","prompt":"Score the displacement pressure for our target neighborhood — median rent increased from $1100 to $1650 (scale 1500, increase, weight 1), vacancy rate dropped from 0.12 to 0.04 (scale 0.15, decrease, weight 0.9), and average household size decreased from 3.1 to 2.5 (scale 4, decrease, weight 0.6). What's the 0–100 index?"},{"title":"Real estate market gentrification benchmarking","prompt":"I want to benchmark gentrification pressure for a block in East Austin: property values went from $180000 to $310000 baseline to current (scale 500000, increase, weight 1), and commute-to-downtown time dropped from 28 to 14 minutes (scale 60, decrease, weight 0.4). Compute the composite gentrification index."}],"resultDescription":"Returns a 0–100 numeric gentrification pressure index derived from the caller-supplied metrics after normalizing each (current minus baseline divided by normalization scale), applying directional sign and weight, clipping extreme component values, and aggregating into a single descriptive score. Higher values indicate greater gentrification pressure. The caller is responsible for metric selection and interpretation.","failureModes":["Missing required metric fields (metric_id, baseline_value, current_value, normalization_scale, pressure_direction, weight) returns a validation error","normalization_scale of zero or below minimum threshold returns an error","Metrics array empty or exceeds 1000 items returns a schema validation error","weight or value out of allowed numeric bounds returns a validation error","Invalid pressure_direction value (must be 'increase' or 'decrease') returns an error","Payment failure or insufficient USDC balance returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you have pre-collected baseline and current values for neighborhood metrics and need a standardized, weighted 0–100 composite index score without any data-fetching or demographic identification. Prefer it over manual aggregation when you need consistent normalization and clipping logic across multiple heterogeneous metrics (rent, income, education, vacancy, etc.) with caller-controlled directional weighting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:38.735Z","isFirstParty":false}