Donalg D
Donalg D

Reputation: 95

Creating a Firebase API that makes Third-party API Requests

I'm exploring the option of using Firebase to create an API, but it's not clear whether I can use the API to make third-party API requests.

For example, I'd like to use Firebase to query an API service I've already developed. Essentially use Firebase as a middleware.

Upvotes: 5

Views: 3875

Answers (1)

Chris
Chris

Reputation: 8020

I assume you are referring to Firebase Functions. They can make calls (outside network requests as they call them) when you are on the Flame or the Blaze plan, but not on the spark plan.

Firebase projects on the Spark plan can make only outbound requests to Google APIs. Requests to third-party APIs fail with an error. For more information about upgrading your project, see Pricing.

Update

For further information regarding the specifics of this question: Integrating with 3rd party APIs

Upvotes: 7

Related Questions