<p>Dandelion is now running an Blockfrost endpoint too.</p>

CC BY-SA 4.0
2022-12-02T21:45:41.310Z
2022-12-02T21:45:41.310Z
Marek Mahut - StakeNuts
<p>I have somehow managed to get a lot of code for BlockFrost API, however, I want to build some free applications for people to monitor blockchain data from a website dashboard.</p>
<p>To take advantage of the better fee structure I want to convert the code to the Dandelion API, The original code is just a series of function calls calling different endpoints and returning different results. Is there a way to programmatically convert the old APIs into Dandelion compatible APIs?</p>

CC BY-SA 4.0
2022-05-16T07:44:05.980Z
Can you provide an example of what you are trying to change to/from. Sounds to me like you need to do a swap out of API/URL calls (easy enough to do manually, or search/replace) but you will also need to handle any potential difference in data structure that you get back from the new APIs. Or I might be misunderstanding this request.
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-05-16T08:59:21.487Z
Thanks it's sorted. Dandelion makes a bunch of different APIs the rest ones are to convert to blockfrost and vice versa, but there's a few small tricks to converting the rest. I basically made some factory function around the blockfrost API sdk
KryptoKing
CC BY-SA 4.0
2022-05-16T11:14:00.213Z
Ok great. It might be helpful to create your own answer and accept it as the best answer, in order help anyone else that has a similar question.
MC_Brisbane - JUST Pool
<cardano-node><cardano-db-sync><api><blockfrost><independent-service-providers>
How can I Convert BlockFrost API Code to Dandelion API?
# How can I Convert BlockFrost API Code to Dandelion API?

(Asked by: username_0 on 2022-05-15)

I have somehow managed to get a lot of code for BlockFrost API, however, I want to build some free applications for people to monitor blockchain data from a website dashboard.

To take advantage of the better fee structure I want to convert the code to the Dandelion API, The original code is just a series of function calls calling different endpoints and returning different results. Is there a way to programmatically convert the old APIs into Dandelion compatible APIs?

**Tags:** cardano-node, cardano-db-sync, api, blockfrost, independent-service-providers
> **Comments:**
> **username_1**: Can you provide an example of what you are trying to change to/from. Sounds to me like you need to do a swap out of API/URL calls (easy enough to do manually, or search/replace) but you will also need to handle any potential difference in data structure that you get back from the new APIs. Or I might be misunderstanding this request.  
> **username_0**: Thanks it's sorted. Dandelion makes a bunch of different APIs the rest ones are to convert to blockfrost and vice versa, but there's a few small tricks to converting the rest. I basically made some factory function around the blockfrost API sdk  
> **username_1**: Ok great. It might be helpful to create your own answer and accept it as the best answer, in order help anyone else that has a similar question.  

---

## 1 answers

### Answer by username_2 on 2022-12-02. Score: 0

Dandelion is now running an Blockfrost endpoint too.


---

