> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /trademe/agents

> Get a full TradeMe real-estate agent profile by slug (or agent URL): name, agency, contact details, REAA license number, biography, career description, experience, spoken languages, service suburbs and districts, awards, client testimonials, web links, sold and live listing counts and the agent's current property listings.

**Price:** 5 credits

**⚠️ Common errors:** 412: Agent not found (well-formed but nonexistent or removed profile)



## OpenAPI

````yaml /openapi/real-estate.json post /api/trademe/agents
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/trademe/agents:
    post:
      tags:
        - /trademe
      summary: /trademe/agents
      description: >-
        Get a full TradeMe real-estate agent profile by slug (or agent URL):
        name, agency, contact details, REAA license number, biography, career
        description, experience, spoken languages, service suburbs and
        districts, awards, client testimonials, web links, sold and live listing
        counts and the agent's current property listings.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Agent not found (well-formed but nonexistent
        or removed profile)
      operationId: __api_trademe_agents_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrademeAgentsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TrademeAgent'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TrademeAgentsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        agent:
          type: string
          minLength: 1
      type: object
      required:
        - agent
    TrademeAgent:
      properties:
        '@type':
          type: string
          default: TrademeAgent
        id:
          type: integer
        alias:
          type: string
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        work_phone:
          anyOf:
            - type: string
            - type: 'null'
        mobile_phone:
          anyOf:
            - type: string
            - type: 'null'
        reaa_license_number:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        biography:
          anyOf:
            - type: string
            - type: 'null'
        career_description:
          anyOf:
            - type: string
            - type: 'null'
        agency_name:
          anyOf:
            - type: string
            - type: 'null'
        agency_image:
          anyOf:
            - type: string
            - type: 'null'
        experience_years:
          anyOf:
            - type: integer
            - type: 'null'
        experience_months:
          anyOf:
            - type: integer
            - type: 'null'
        sold_listing_count:
          anyOf:
            - type: integer
            - type: 'null'
        live_listing_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_partner:
          anyOf:
            - type: boolean
            - type: 'null'
        joined_at:
          anyOf:
            - type: string
            - type: 'null'
        spoken_languages:
          items:
            type: string
          type: array
          default: []
        suburbs:
          items:
            $ref: '#/components/schemas/TrademeAgentSuburb'
          type: array
          default: []
        districts:
          items:
            $ref: '#/components/schemas/TrademeAgentDistrict'
          type: array
          default: []
        awards:
          items:
            type: string
          type: array
          default: []
        testimonials:
          items:
            $ref: '#/components/schemas/TrademeAgentTestimonial'
          type: array
          default: []
        web_links:
          items:
            $ref: '#/components/schemas/TrademeAgentWebLink'
          type: array
          default: []
        listings:
          items:
            $ref: '#/components/schemas/TrademeAgentListing'
          type: array
          default: []
      type: object
      required:
        - id
        - alias
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    TrademeAgentSuburb:
      properties:
        '@type':
          type: string
          default: TrademeAgentSuburb
        id:
          type: integer
        name:
          anyOf:
            - type: string
            - type: 'null'
        district_id:
          anyOf:
            - type: integer
            - type: 'null'
        region_id:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    TrademeAgentDistrict:
      properties:
        '@type':
          type: string
          default: TrademeAgentDistrict
        id:
          type: integer
        name:
          anyOf:
            - type: string
            - type: 'null'
        region_id:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    TrademeAgentTestimonial:
      properties:
        '@type':
          type: string
          default: TrademeAgentTestimonial
        id:
          type: integer
        text:
          type: string
        full_name:
          anyOf:
            - type: string
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - text
    TrademeAgentWebLink:
      properties:
        '@type':
          type: string
          default: TrademeAgentWebLink
        type:
          anyOf:
            - type: string
            - type: 'null'
        url:
          type: string
      type: object
      required:
        - url
    TrademeAgentListing:
      properties:
        '@type':
          type: string
          default: TrademeAgentListing
        id:
          type: integer
        url:
          anyOf:
            - type: string
            - type: 'null'
        category_name:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        district:
          anyOf:
            - type: string
            - type: 'null'
        suburb:
          anyOf:
            - type: string
            - type: 'null'
        price_display:
          anyOf:
            - type: string
            - type: 'null'
        property_type:
          anyOf:
            - type: string
            - type: 'null'
        bedrooms:
          anyOf:
            - type: integer
            - type: 'null'
        bathrooms:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        listed_at:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````