/realtorca/agents/search
curl --request POST \
--url https://api.anysite.io/api/realtorca/agents/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 300,
"timeout": 300,
"city": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"address": "<string>",
"postal_code": "<string>",
"designations": [],
"languages": [],
"specialties": [],
"is_ccc_member": false,
"sort": "no_preference"
}
'import requests
url = "https://api.anysite.io/api/realtorca/agents/search"
payload = {
"count": 300,
"timeout": 300,
"city": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"address": "<string>",
"postal_code": "<string>",
"designations": [],
"languages": [],
"specialties": [],
"is_ccc_member": False,
"sort": "no_preference"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 300,
timeout: 300,
city: '<string>',
first_name: '<string>',
last_name: '<string>',
company_name: '<string>',
address: '<string>',
postal_code: '<string>',
designations: [],
languages: [],
specialties: [],
is_ccc_member: false,
sort: 'no_preference'
})
};
fetch('https://api.anysite.io/api/realtorca/agents/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/realtorca/agents/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 300,
'timeout' => 300,
'city' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'company_name' => '<string>',
'address' => '<string>',
'postal_code' => '<string>',
'designations' => [
],
'languages' => [
],
'specialties' => [
],
'is_ccc_member' => false,
'sort' => 'no_preference'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/realtorca/agents/search"
payload := strings.NewReader("{\n \"count\": 300,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"address\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"designations\": [],\n \"languages\": [],\n \"specialties\": [],\n \"is_ccc_member\": false,\n \"sort\": \"no_preference\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/realtorca/agents/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 300,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"address\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"designations\": [],\n \"languages\": [],\n \"specialties\": [],\n \"is_ccc_member\": false,\n \"sort\": \"no_preference\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/realtorca/agents/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 300,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"address\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"designations\": [],\n \"languages\": [],\n \"specialties\": [],\n \"is_ccc_member\": false,\n \"sort\": \"no_preference\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "RealtorcaAgentCard",
"name": "<string>",
"position": "<string>",
"credentials": "<string>",
"address": "<string>",
"image": "<string>",
"profile_url": "<string>",
"phones": [],
"websites": [],
"social_links": [],
"office_id": "<string>",
"office_name": "<string>",
"office_designation": "<string>",
"office_address": "<string>",
"office_image": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/realtorca
/realtorca/agents/search
Search Canada’s national REALTOR® directory by city, province, name, brokerage, street address, postal code, professional designations, languages spoken and specialties.
Price: 5 credits per 20 results
POST
/
api
/
realtorca
/
agents
/
search
/realtorca/agents/search
curl --request POST \
--url https://api.anysite.io/api/realtorca/agents/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 300,
"timeout": 300,
"city": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"address": "<string>",
"postal_code": "<string>",
"designations": [],
"languages": [],
"specialties": [],
"is_ccc_member": false,
"sort": "no_preference"
}
'import requests
url = "https://api.anysite.io/api/realtorca/agents/search"
payload = {
"count": 300,
"timeout": 300,
"city": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company_name": "<string>",
"address": "<string>",
"postal_code": "<string>",
"designations": [],
"languages": [],
"specialties": [],
"is_ccc_member": False,
"sort": "no_preference"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 300,
timeout: 300,
city: '<string>',
first_name: '<string>',
last_name: '<string>',
company_name: '<string>',
address: '<string>',
postal_code: '<string>',
designations: [],
languages: [],
specialties: [],
is_ccc_member: false,
sort: 'no_preference'
})
};
fetch('https://api.anysite.io/api/realtorca/agents/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/realtorca/agents/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 300,
'timeout' => 300,
'city' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'company_name' => '<string>',
'address' => '<string>',
'postal_code' => '<string>',
'designations' => [
],
'languages' => [
],
'specialties' => [
],
'is_ccc_member' => false,
'sort' => 'no_preference'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/realtorca/agents/search"
payload := strings.NewReader("{\n \"count\": 300,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"address\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"designations\": [],\n \"languages\": [],\n \"specialties\": [],\n \"is_ccc_member\": false,\n \"sort\": \"no_preference\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/realtorca/agents/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 300,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"address\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"designations\": [],\n \"languages\": [],\n \"specialties\": [],\n \"is_ccc_member\": false,\n \"sort\": \"no_preference\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/realtorca/agents/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 300,\n \"timeout\": 300,\n \"city\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"address\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"designations\": [],\n \"languages\": [],\n \"specialties\": [],\n \"is_ccc_member\": false,\n \"sort\": \"no_preference\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"@type": "RealtorcaAgentCard",
"name": "<string>",
"position": "<string>",
"credentials": "<string>",
"address": "<string>",
"image": "<string>",
"profile_url": "<string>",
"phones": [],
"websites": [],
"social_links": [],
"office_id": "<string>",
"office_name": "<string>",
"office_designation": "<string>",
"office_address": "<string>",
"office_image": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
1 <= x <= 600Required range:
20 <= x <= 1500Available options:
alberta, british_columbia, manitoba, new_brunswick, newfoundland_and_labrador, northwest_territories, nova_scotia, nunavut, ontario, prince_edward_island, quebec, saskatchewan, yukon Available options:
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 Available options:
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 Available options:
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 Available options:
no_preference, last_name_asc, last_name_desc, first_name_asc, first_name_desc, city_asc, city_desc, province_asc, province_desc Response
Successful Response