Casafari AgencyGraph · live in Spain and Portugal since 31 October 2026

Every estate agency, measured every week.

AgencyGraph maps every real estate agency in a country from the homes it advertises on portals and on its own website. Each home is counted once, followed through its price changes, and given a value in euros. Ask it from your AI assistant or call it from your code.

~41,000agencies and offices with homes for sale in 4,767 Spanish towns
~17,600agencies and offices in 309 Portuguese towns
99.2%of a national network's hand-made agency list for Spain matched (6,961 of 7,020)
Weeklyrebuilt every Monday, with checks that nothing is lost and nothing invented
https://platform.casafari.com/mcp/agencygraph
Start free Developer docs
Sample report

Where does your agency stand in its town?

One question to your assistant returns a ranked sheet like this one: every agency of a town with the five measures, your own row highlighted. The rows below show the format. Run it on your own town for real figures.

Town benchmark · apartments and houses · latest weekly buildA mid-size coastal town, Spain
Illustrative figures · names withheld
agencygraph_area_benchmark(country: "ES", location_id: …, sort: "properties", size: 25) · 75 tokens a page of 25
Agency Homes for sale Portfolio value Share of town New this quarter Price cuts Overpricing at start Median days on market
1Agency Aoffice of a national network312€148.6M+6418%+9%74
2Agency Bindependent241€131.2M+5112%+6%61
3Agency Cindependent187€96.4M+3827%+14%98
4Agency Doffice of an international network166€112.9M+2915%+8%83
5Agency Eindependent139€58.7M−631%+17%121
What it tells Agency C

Third by homes for sale, but 27% of its homes had a price cut against 12–18% for the two agencies ahead.

Why

Its homes start 14% above the town's median price per m², and sit 98 days on the market against 61–74 days for the two agencies ahead.

Next question

"Which property types drive the gap?" A profile call (50 tokens) splits every measure by apartments and houses.

Six more sample reports with real figures from Spain and Portugal: see them all. A home two agencies both advertise counts for each of them, so shares can add up to more than 100%. Agencies with fewer than 5 homes show their count without figures. AgencyGraph names firms, never individual agents.

What is measured

Five measures for every agency, in every town

Each one is given for all homes, for apartments and for houses, with the agency's rank and percentile among the town's agencies.

Portfolio

The homes it has for sale and their asking value: total, mean and median.

€ · homes

Growth

Homes newly put on the market and homes withdrawn, quarter by quarter.

homes per quarter

Price changes

How many of its homes had their price cut or raised, and by how much.

% of homes · median change

Overpricing at start

How far first asking prices per m² start above the town's median.

% above median €/m²

Time on market

Days its homes stay on the market: minimum, maximum, median and mean.

days
Every capability

Ten tools in your assistant, the same calls on the API

Each tool is also a REST endpoint under /v1/agencygraph. Prices are in tokens at €0.04 each on prepaid credits. Finding an agency, a place or your balance is free. Every tool only reads data.

Start here
locations_search
Location Lookup. Turns a place name into the location_id every other tool takes.
Free
agencygraph_resolve_agency
Find an agency. A name, trading name or website to ranked candidates, with the agency's network and main towns.
Free
agencygraph_coverage
Countries and weekly builds. The countries answered and the date of each one's latest build.
Free
agencygraph_country_coverage
One country in detail. Towns, agencies and homes measured, and the 25 towns with the most agencies.
5€0.20
One agency
agencygraph_agency_profile
Agency profile. Names, websites, network, totals, the last four quarters of new and withdrawn homes, and its 25 largest towns with the five measures, rank and percentile.
50€2
agencygraph_territory
Where an agency works. Every town where it has homes for sale: its share, portfolio value and rank there.
50€2 a page of 25 towns
agencygraph_changes
What changed. Week by week for up to 25 agencies: new, withdrawn and relisted homes, price cuts and rises, merges. Your watchlist, called each week.
25€1 for 25 agencies
A town or a market
agencygraph_area_benchmark
Agencies of a town. Every agency active in the town with the five measures and ranks, sorted by the measure you choose.
75€3 a page of 25
agencygraph_market_share
Market share. Each agency's share of the town's homes for sale and of its new and withdrawn homes, this quarter and last.
50€2 a page of 25
agencygraph_screen_agencies
Screen agencies. Filter the whole country or up to 20 towns by portfolio, share, price cuts, days on market, overpricing, size, network or independence. For recruitment, partners and prospect lists.
100€4 a page of 25
agencygraph_network
Franchise network. A brand's totals and its offices side by side, nationally or in one town.
75€3 a page of 25 offices
Bulk, on the API
POST /v1/agencygraph/{country}/datasets/…
City dataset. Every agency of a town, the five measures, four property types, the last four quarters, refreshed each quarter for a year. CSV or JSON. A free quote call gives the town's tier first.
2,500–12,500€100 · €250 · €500 a year
Country licence
Whole country. For franchise networks, portals and data teams.
Customfrom about €5,000 a year
Who uses it

Questions it answers, in the buyer's own words

Each card ends with a prompt you can paste into Claude, Cursor or any MCP client once the AgencyGraph connector is added.

Agency owner
"Show me where I stand in my town and what I should fix."

Rank the real estate agencies in Málaga by homes for sale, with their price cuts and median days on market, and show where my agency sits.

Town benchmark, agency profile · with Area Insights See the sample report →
Agency owner
"Win this mandate: prove to the seller we price right and sell fast."

Compare my agency's overpricing at start and time on market in Cascais with the five agencies that hold the most homes there.

Agency profile, market share · with Comparables See the sample report →
Franchise network
"Find the independent agencies worth recruiting in these towns."

Find independent agencies in Valencia province with 30 to 150 homes for sale that grew this quarter and cut prices less than the town's median.

Screening, territory, network view See the sample report →
Franchise network
"Where are we strong, where are the gaps, who are we losing to?"

Show our network's offices in Lisbon district next to the agencies that hold the most homes in each of those towns.

Network, market share, territory See the sample report →
Vendors who sell to agencies
"Show me which agencies need what I sell, and how big they are."

List agencies in Porto with more than 50 homes for sale whose homes stay on the market longer than the town's median.

Screening, city datasets See the sample report →
Banks, developers, investors
"Which agency should sell our homes in this town?"

Which agencies in Marbella sell houses fastest, with the least overpricing at start, among those with at least 40 homes for sale?

Benchmark, screening · with Comparables, Area Insights See the sample report →
Live and coming

What AgencyGraph knows today, and what it learns next

Everything marked live is in the product now. Coming items are built and checked on Spain and Portugal and join the same tools at no extra price. No dates are promised.

Live

Five measures per agency, town and property type, rebuilt weekly.

Live

Market share and rank in every town, by property type.

Live

Networks and offices: every office of a franchise, side by side.

Live

Screening and weekly changes for prospect lists and watchlists.

Live

City datasets on the API, refreshed each quarter for a year.

Coming

Tech stack: the CRM and website vendor each agency runs.

Coming

MLS membership: member, likely or not, with the evidence.

Coming

Specialisation: luxury, new builds, rentals, commercial, foreign buyers.

Coming

Listing quality and exclusivity: photos, energy certificates, hidden prices, homes only one agency has.

Coming

SEO, AEO and AI visibility: how easily Google and AI assistants find and name each agency. In 150 Spanish and Portuguese towns, only about 7–13% of the sources AI assistants cite are an agency's own website.

Planned

Confirmed sales, checked against notary and register data. Today AgencyGraph gives no sales counts.

Planned

Online presence: Google profile and rating, ads, social profiles.

Countries

Spain and Portugal today, eight more on the way

Each country goes live once its weekly build passes the same checks Spain and Portugal passed.

Spain live Portugal live Italy next Germany next Austria next Poland next Greece next France then Belgium then Luxembourg then
How it is built

Homes, not listings

  • One home, counted once. Casafari merges every advertisement of a home, on portals and agency websites, into one property and follows its price history.
  • Firms, never people. AgencyGraph names agencies and offices only, and only above a minimum size.
  • Checked every week. A build is published only if every home read is accounted for and every agency name comes from the data or a recorded decision.
  • Corrections. An agency can ask for its entry to be corrected and gets an answer within 10 working days.
  • Digital inventory. Figures describe the homes an agency advertises, not its whole business. The method note on the developer site explains each measure.
Get started

Ask your first question in two minutes

  1. Sign in at platform.casafari.com. New accounts get a free 30-day trial with 1,000 tokens.

  2. In Claude, open Settings → Connectors → Add custom connector and paste https://platform.casafari.com/mcp/agencygraph. Sign in with the same Casafari account when asked. Cursor and other MCP clients take the same address.

  3. Ask: "Rank the real estate agencies in Lisbon by homes for sale." Or call the API with a key from the console:

    curl -H "Authorization: Bearer $CASAFARI_API_KEY" \
      "https://platform.casafari.com/v1/agencygraph/es/agencies?q=your+agency"