We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

API - Crunchbase via Rapid API

RUSA
7 - Meteor

Hello,

 

I am trying to set up an API (my first one) from Crunchbase via Rapid API. The code snippet is below. I have tried configuring it using a Text Input and the Download tool but I haven't been successful.

 

The instructions indicate that the 2 required fields in the header are X-RapidAPI-Host and X-RapidAPI-Key, with numerous optional fields such as Updated Since and Locations ( e.g. locations=California,San Francisco).

 

Any help is appreciated.

 

 

 

 

 

var unirest = require("unirest");

var req = unirest("GET", "https://crunchbase-crunchbase-v1.p.rapidapi.com/odm-organizations");

req.headers({
	"x-rapidapi-host": "crunchbase-crunchbase-v1.p.rapidapi.com",
	"x-rapidapi-key": "abcd1234"
});


req.end(function (res) {
	if (res.error) throw new Error(res.error);

	console.log(res.body);
});

 

 

 

 

 

4 REPLIES 4
RUSA
7 - Meteor
Blewis21
8 - Asteroid

Hey Rusa, 

 

Can you share an example on how you got this set up with rapid API with a .yxmd file? 

 

I'm having a difficult time setting this up and it would great if I can see how you did this. 

 

thanks,

RUSA
7 - Meteor

Here you go. You will need your own API key, of course.

Blewis21
8 - Asteroid

Rusa, 

 

I figured it out. Adding my screenshots just in case anyone else has issues 

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Issues-with-rapid-api/m-p/704574/highl...

 

Labels
Top Solution Authors