{"uid":"cap_-0vVSNW5RLUp_ujSX2uK8","slug":"sparks-re-api-property-listing-image-analysis-a7db7cc8","name":"Sparks RE API — Property Listing Image Analysis","description":"AI-powered real estate tools for property normalization, FHA compliance scanning, and investor metrics calculation. Powered by x402 micropayments.","url":"https://sparks-re-api.sparksdigital-re.workers.dev/property/analyze-image?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"image":{"type":"string","description":"Base64-encoded image string of the listing screenshot"},"mime_type":{"type":"string","description":"Mime type of the image (default image/png)"}}},"responseSchema":{"type":"json","example":{"fha_report":{"is_compliant":true,"flagged_phrases":[],"violation_count":0,"compliant_rewrite":"..."},"listing_data":{"zip":"46220","city":"Indianapolis","state":"IN","address":"789 Maple Ave","bedrooms":3,"lot_size":"0.25 acres","bathrooms":2,"raw_price":"$295,000","year_built":1998,"square_feet":1850,"monthly_rent":2200,"property_type":"SFR"},"investor_metrics":{"dscr":1.12,"annual_noi":16908,"loan_amount":236000,"down_payment":59000,"monthly_rent":2200,"purchase_price":295000,"cap_rate_percent":5.73,"monthly_cashflow":-160.96,"monthly_expenses":2360.96,"monthly_mortgage":1569.96,"cash_on_cash_percent":-3.27,"gross_rent_multiplier":11.17}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cF4Knao2-JEq-GSrPvvaw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a base64-encoded screenshot of a real estate listing and returns a consolidated report with extracted property specs, FHA compliance scan, and investor return metrics.","exampleAgentPrompt":"I just took a screenshot of a property listing on Zillow — can you analyze it to pull out the specs, check it for Fair Housing Act violations, and give me the investor metrics like cap rate, DSCR, and monthly cash flow?","exampleUseCases":[{"title":"Investor screening a new listing","prompt":"Here's a screenshot of a listing I found on Realtor.com — can you extract all the property details and calculate the cap rate, cash-on-cash return, and monthly cash flow so I can decide if it's worth pursuing?"},{"title":"Compliance check before publishing","prompt":"Before I post this listing, can you scan this screenshot for any Fair Housing Act or FHA violations and give me a compliant rewrite if there are any flagged phrases?"},{"title":"Quick property data extraction from screenshot","prompt":"I have a screenshot of an MLS listing but I need the data in structured form — can you pull out the address, beds, baths, square footage, price, and year built from this image?"}],"resultDescription":"A JSON object with three sections: listing_data (structured property specs including address, city, state, zip, bedrooms, bathrooms, square feet, lot size, year built, price, monthly rent, property type), fha_report (FHA/Fair Housing compliance status, count of violations, flagged phrases, and a compliant rewrite), and investor_metrics (cap rate, DSCR, annual NOI, cash-on-cash return, monthly cash flow, monthly expenses, monthly mortgage, gross rent multiplier, loan amount, down payment).","failureModes":["Invalid or corrupt base64 image string returns a parse error","Unsupported mime type may cause processing failure","Low-quality or unreadable screenshot may result in incomplete or inaccurate property data extraction","Missing required 'image' field returns a 400 validation error","Payment not included or insufficient USDC triggers a 402 Payment Required response","AI model timeout on large images may return a 500 error"],"whenToPreferThis":"Choose this endpoint when you have a screenshot or image of a real estate listing (rather than raw text or a URL) and need a single-call consolidated report covering property data extraction, FHA compliance, and investor metrics — saving three separate API calls. Prefer the text-based endpoint if you already have the listing copy as plain text, or the URL scraper if you have the listing page URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:12.742Z","isFirstParty":false,"canonicalSlug":"sparks-re-api-property-listing-image-analysis-a7db7cc8"}