Assistant Realtor GTA

Assistant Realtor GTA · GPT 작업

REALTOR.ca DDF® Web API

REALTOR.ca Data Distribution Facility (DDF®) Web API allows access to MLS® System listing data across Canada.

  • POST /connect/tokenGet an access token
원본 API 스키마
{
  "openapi": "3.0.0",
  "info": {
    "title": "REALTOR.ca DDF® Web API",
    "version": 1,
    "description": "REALTOR.ca Data Distribution Facility (DDF®) Web API allows access to MLS® System listing data across Canada."
  },
  "servers": [
    {
      "url": "https://chaction.csie.cool/{dynamicBaseUrl}",
      "variables": {
        "dynamicBaseUrl": {
          "default": "placeholder",
          "description": "Dynamic base URL to be replaced based on the operation context."
        }
      }
    }
  ],
  "paths": {
    "/connect/token": {
      "post": {
        "summary": "Get an access token",
        "operationId": "getAccessToken",
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "grant_type": {
                    "type": "string",
                    "example": "client_credentials"
                  },
                  "client_id": {
                    "type": "string"
                  },
                  "client_secret": {
                    "type": "string"
                  },
                  "scope": {
                    "type": "string",
                    "example": "DDFApi_Read"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Access token response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "access_token": {
                      "type": "string"
                    },
                    "expires_in": {
                      "type": "integer"
                    },
                    "token_type": {
                      "type": "string"
                    },
                    "scope": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "OpenHouse": {
        "type": "object",
        "properties": {
          "OpenHouseKey": {
            "type": "string"
          },
          "OpenHouseStartTime": {
            "type": "string"
          },
          "OpenHouseEndTime": {
            "type": "string"
          },
          "ListingKey": {
            "type": "string"
          },
          "ListingId": {
            "type": "string"
          },
          "OpenHouseDate": {
            "type": "string"
          },
          "OpenHouseRemarks": {
            "type": "string"
          },
          "ShowingAgentFirstName": {
            "type": "string"
          },
          "ShowingAgentLastName": {
            "type": "string"
          },
          "ShowingAgentKey": {
            "type": "string"
          },
          "ShowingAgentMlsID": {
            "type": "string"
          },
          "OpenHouseType": {
            "type": "string"
          },
          "OpenHouseStatus": {
            "type": "string"
          }
        }
      }
    }
  },
  "securitySchemes": {
    "BearerAuth": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "JWT"
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}