# /realtorca/agents/search

`POST /api/realtorca/agents/search`

Price: 5 credits

Search Canada's national REALTOR® directory by city, province, name, brokerage, street address, postal code, professional designations, languages spoken and specialties.

## How to use it

Search Canadian REALTORS®. Requires count plus at least one filter (city, province, first_name, last_name, company_name, address, postal_code, designations, languages or specialties). Each item carries id, name, position, credentials, address, image, profile_url, phones, websites, social_links and the brokerage (office_id, office_name, office_designation, office_address, office_image). REALTOR.ca caps any single search at 600 REALTORS® — cover a larger market by narrowing the filters.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `count` (integer, required) — Max number of REALTORS® to return (min: 1; max: 600)
- `city` (string, nullable) — City name (examples: "Toronto")
- `province` (string, nullable) — Province or territory (one of: "alberta", "british_columbia", "manitoba", "new_brunswick", "newfoundland_and_labrador", "northwest_territories", "nova_scotia", "nunavut", "ontario", "prince_edward_island", "quebec", "saskatchewan", "yukon")
- `first_name` (string, nullable) — REALTOR® first name
- `last_name` (string, nullable) — REALTOR® last name
- `company_name` (string, nullable) — Brokerage name
- `address` (string, nullable) — Street address
- `postal_code` (string, nullable) — Postal code (examples: "M5V3L9")
- `designations` (array, nullable) — Filter by professional designations (one of: "accredited_buyer_representative", "accredited_buyer_representative_manager", "at_home_with_diversity_certification", "accredited_land_consultant", "accredited_residential_manager", "associate_reserve_planner", "certified_commercial_investment_member", "certified_international_property_specialist", "certified_leasing_officer", "certified_manager_of_condominiums", "certified_property_manager", "certified_real_estate_specialist", "certified_real_estate_brokerage_manager", "counselor_of_real_estate", "certified_in_real_estate_finance", "certified_reserve_planner", "certified_residential_specialist", "certified_residential_underwriter", "realtor_e_pro", "fellow_of_the_real_estate_institute", "fellow_of_the_real_estate_institute_appraisal_specialist", "fellow_of_the_real_estate_institute_executive", "general_accredited_appraiser", "graduate_realtor_institute", "performance_management_network", "residential_accredited_appraiser", "realtor_association_certified_executive", "real_estate_professional_assistant", "accredited_appraiser_canadian_institute", "market_value_appraiser_residential", "accredited_leasing_officer", "accredited_mortgage_professional", "accredited_senior_appraiser", "certified_valuation_analyst", "certified_mold_remediation", "certified_professional_residential_property_manager", "canadian_residential_appraiser", "fellows_of_the_royal_institution_of_chartered_surveyors", "member_appraisal_institute", "professional_land_economist", "real_property_administrator", "society_of_industrial_and_office_realtors", "senior_residential_appraiser", "canadian_employee_relocation_professional", "canadian_employee_relocation_council_relocation_specialist", "relocation_resort_specialist", "seniors_real_estate_specialist", "certified_lease_professional_designation", "designated_agency_representatives", "distinguished_real_estate_instructor", "unknown", "certified_condo_specialist", "canadian_realtor_association_executive", "nar_s_green_designation", "accredited_greenagent_residential", "accredited_greenbroker_commercial", "ecobroker", "transnational_referral_certified", "certified_negotiation_expert", "member_of_the_royal_institute_of_charter_surveyors", "certified_reserve_fund_planner", "accredited_staging_professional", "resort_and_second_home_property_specialist", "short_sales_and_foreclose_resource", "business_corporation_owned_by_a_real_estate_broker", "canadian_personal_property_appraiser", "seller_representative_specialist", "accredited_senior_agent", "certified_luxury_home_marketing_specialist", "royal_institute_of_chartered_surveyors", "accredited_commercial_professional", "master_certified_negotiation_expert", "associate_of_the_canadian_condominium_institute", "real_estate_negotiation_expert", "military_relocation_professional", "pricing_strategy_advisor", "accredited_luxury_home_specialist", "performance_management_network_designation", "certified_in_marketing_of_real_estate", "residential_construction_certified", "certified_new_home_specialist", "chartered_accountant", "chartered_professional_accountant", "certified_general_accountant", "certified_management_accountant", "boundarywise", "chartered_financial_analyst", "national_commercial_real_estate_advisor", "certified_real_estate_investment_planning_specialist", "openn_certified_agent", "accredited_real_estate_negotiator", "luxury_homes_certification", "canadian_national_association_of_real_estate_appraisers", "certified_real_estate_team_specialist", "certified_consultant_on_aging", "certified_buyer_agent_expert", "canadian_certified_green_representative_ccgr", "accredited_commercial_manager", "real_estate_sector_governance_designation", "canadian_certified_seniors_representative_ccsr")
- `languages` (array, nullable) — Filter by languages spoken (one of: "english", "french", "chinese_mandarin", "chinese_cantonese", "punjabi", "hindi", "tagalog_filipino", "arabic", "russian", "german", "aboriginal_languages", "afrikaans", "albanian", "american_sign_language_asl", "amharic", "armenian", "assyrian", "azeri", "bahasa_malaysia", "bangla", "belorussian", "bulgarian", "burmese", "catalan", "chaldean", "cree", "creole", "croatian", "czech", "danish", "dari", "dutch", "estonian", "farsi", "finnish", "flemish", "friesian", "galla", "gan", "georgian", "greek", "gujarati", "hakka", "hausa", "hebrew", "hungarian", "icelandic", "indonesian", "inuktitut_inuit", "italian", "japanese", "javanese", "jin_yu", "kannada", "kazakh", "kejia", "khmer", "kiswahili", "konkani", "korean", "kurdish", "lao", "latvian", "lithuanian", "luxembourgish", "macedonian", "malagasy", "malay", "malayalam", "malaysian", "maltese", "marathi", "miny", "mongolian", "norwegian", "pakhto", "pashto", "persian", "polish", "portuguese", "romanian", "serbian", "serbo_croatian", "sindhi", "sinhala", "slovak", "slovenian", "somali", "spanish", "sunda", "swedish", "tajik", "tamil", "tchi", "telugu", "thai", "tigrinya", "turkish", "ukrainian", "urdu", "uzbek", "vietnamese", "xiang", "yiddish", "yue")
- `specialties` (array, nullable) — Filter by specialties (one of: "residential_property_management", "residential_brokerage", "residential_development", "residential_valuation", "residential_financing", "residential_leasing", "residential_legal", "residential_relocation", "relocation", "second_home", "age_restricted_active_adult_community_properties", "agriculture_land", "appraisal", "business_brokerage", "condos", "consulting", "development_land", "farm_ranch", "golf_community_properties", "hospitality", "industrial", "investment", "luxury_homes", "multi_family", "office", "property_management", "recreational", "resort_properties", "retail", "seasonal_vacation_rentals", "single_family", "waterfront_properties")
- `is_ccc_member` (boolean) — Only Certified Commercial Investment Members (default: false)
- `sort` (string) — Result ordering (default: "no_preference"; one of: "no_preference", "last_name_asc", "last_name_desc", "first_name_asc", "first_name_desc", "city_asc", "city_desc", "province_asc", "province_desc")

## Response

### 200 — Successful Response

- `@type` (string) (default: "RealtorcaAgentCard")
- `id` (string, required)
- `name` (string, nullable)
- `position` (string, nullable)
- `credentials` (string, nullable)
- `address` (string, nullable)
- `image` (string, nullable)
- `profile_url` (string, nullable)
- `phones` (array) (default: [])
- `websites` (array) (default: [])
- `social_links` (array) (default: [])
- `office_id` (string, nullable)
- `office_name` (string, nullable)
- `office_designation` (string, nullable)
- `office_address` (string, nullable)
- `office_image` (string, nullable)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

The entity was not found, or a precondition failed

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

