import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rentcast: {
type: "app",
app: "rentcast",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rentcast.io/v1/properties/random`,
headers: {
"accept": `application/json`,
"X-Api-Key": `${this.rentcast.$auth.api_key}`,
},
})
},
})
Search for rental listings in a geographical area, or by a specific address. See the documentation
Get aggregate rental statistics and listing trends for a single US zip code. See the documentation
Get a property rent estimate and comparable properties. See the documentation
RentCast uses API keys for authentication. When you connect your RentCast account, Pipedream securely stores the keys so you can easily authenticate to RentCast APIs in both code and no-code steps.