# How do I work with data from Census API

**URL:** <https://forum.bubble.io/t/how-do-i-work-with-data-from-census-api/830>\
**Category:** Uncategorized\
**Created:** [December 16, 2015, 7:05am UTC](https://forum.bubble.io/t/how-do-i-work-with-data-from-census-api/830 "2015-12-16T07:05:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahaskell](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@ahaskell](https://forum.bubble.io/u/ahaskell)\
**Post date:** [December 16, 2015, 7:05am UTC](https://forum.bubble.io/t/how-do-i-work-with-data-from-census-api/830/1 "2015-12-16T07:05:12Z")

</div>

Hi, I’d like to use the Census API.

Since it’s a very easy API, one that I could use with Postman to create a simple workflow, would you mind adding a way for me to implement the API by including the API parameters/headers/etc.

Link: [uscensusbureau.github.io/citysdk/gettingstarted.html](http://uscensusbureau.github.io/citysdk/gettingstarted.html)

If not, how the heck do I access outside data using non-built in API’s?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [December 16, 2015, 12:24pm UTC](https://forum.bubble.io/t/how-do-i-work-with-data-from-census-api/830/2 "2015-12-16T12:24:33Z")

</div>

That’s precisely the point of Blockspring, for instance. You can add a block that does the request, and add it to your app (and if you want to make the Blockspring community happier, you can make it public).

We haven’t exposed the way for people to add APIs directly yet, because we want to make sure the code is mature when we do this. But we will. In the meantime, Blockspring is there for this.

---

<div class="post-metadata">

**Author:** ![ahaskell](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@ahaskell](https://forum.bubble.io/u/ahaskell)\
**Post date:** [December 17, 2015, 1:24am UTC](https://forum.bubble.io/t/how-do-i-work-with-data-from-census-api/830/3 "2015-12-17T01:24:01Z")

</div>

How do I use the “block” with the Bubble database? I need to pull data from Bubble…also, I don’t see any documentation for building a custom block and I have searched for how do that

---

<div class="post-metadata">

**Author:** ![ahaskell](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@ahaskell](https://forum.bubble.io/u/ahaskell)\
**Post date:** [December 17, 2015, 1:27am UTC](https://forum.bubble.io/t/how-do-i-work-with-data-from-census-api/830/4 "2015-12-17T01:27:25Z")

</div>

> **[Bubble Reference](https://bubble.io/reference#Plugins.Blockspring)**
>
> Full reference for each Bubble element, feature, plugin. Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

I don’t see documentation about how to create a new data stream from a new API.

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [December 17, 2015, 4:51pm UTC](https://forum.bubble.io/t/how-do-i-work-with-data-from-census-api/830/5 "2015-12-17T16:51:55Z")

</div>

You create a block there [https://open.blockspring.com/blocks/new](https://open.blockspring.com/blocks/new) and then you define what you want to return. Since it’s custom code, you can make any call to whoever you want. once this is done, you just add it to bubble (it’s usually going to be in the favs section in Blockspring), and it’ll behave as another API.
