Skip to main content
POST
/
api
/
trademe
/
agents
/trademe/agents
curl --request POST \
  --url https://api.anysite.io/api/trademe/agents \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "agent": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "alias": "<string>",
    "@type": "@trademe_agent",
    "first_name": "<string>",
    "last_name": "<string>",
    "url": "<string>",
    "email": "<string>",
    "work_phone": "<string>",
    "mobile_phone": "<string>",
    "reaa_license_number": "<string>",
    "image": "<string>",
    "biography": "<string>",
    "career_description": "<string>",
    "agency_name": "<string>",
    "agency_image": "<string>",
    "experience_years": 123,
    "experience_months": 123,
    "sold_listing_count": 123,
    "live_listing_count": 123,
    "is_partner": true,
    "joined_at": "<string>",
    "spoken_languages": [],
    "suburbs": [],
    "districts": [],
    "awards": [],
    "testimonials": [],
    "web_links": [],
    "listings": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
agent
string
required

TradeMe agent profile slug or agent profile URL

Minimum string length: 1
Examples:

"Tina-Gao"

"https://www.trademe.co.nz/a/property/agent/Tina-Gao"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
alias
string
required
@type
string
default:@trademe_agent
first_name
string | null
last_name
string | null
url
string | null
email
string | null
work_phone
string | null
mobile_phone
string | null
reaa_license_number
string | null
image
string | null
biography
string | null
career_description
string | null
agency_name
string | null
agency_image
string | null
experience_years
integer | null
experience_months
integer | null
sold_listing_count
integer | null
live_listing_count
integer | null
is_partner
boolean | null
joined_at
string | null
spoken_languages
string[]
suburbs
TrademeAgentSuburb · object[]
districts
TrademeAgentDistrict · object[]
awards
string[]
testimonials
TrademeAgentTestimonial · object[]
listings
TrademeAgentListing · object[]