Public APIs

Public APIs / Azure APIs / Azure Cosmos DB APIs

Azure Cosmos DB APIs

3 REST APIs from azure.com, each with an OpenAPI spec. Azure Cosmos DB Database Service Resource Provider REST API.

Open the Azure Cosmos DB APIs documentation Build something with it

Key facts

Category
Azure APIs
Authentication
OAuth
HTTPS
Yes
CORS
Unknown
Listed in
APIs.guru

Uses OAuth, so each user logs in and gives your app permission.

What you could build with Azure Cosmos DB APIs

Azure REST APIs manage Microsoft Azure resources: SQL databases, networks, storage, API Management, monitoring and security. They use Microsoft Entra ID (OAuth) for access.

  • Azure cost and security reports for management
  • Automated environment setup for new customers
  • Monitoring alerts in Teams when resources fail

OpenAPI spec

Azure Cosmos DB APIs has a machine-readable OpenAPI definition. Load it into Postman, Insomnia or a code generator to get every endpoint and a typed client in minutes.

Download the OpenAPI spec (JSON)

3 Azure Cosmos DB APIs REST APIs

  • Cosmos DB 2019-08-01
    Azure Cosmos DB Database Service Resource Provider REST API spec
  • Cosmos DB 2019-08-01-preview
    Azure Cosmos DB Database Service Resource Provider REST API spec
  • Cosmos DB 2019-08-01-preview
    Azure Cosmos DB Database Service Resource Provider REST API spec

How we would integrate Azure Cosmos DB APIs

  1. Generate a typed client from the OpenAPI spec, so every endpoint and field is checked at build time.
  2. Register an OAuth app with the provider and add a 'Connect' button so each user grants access.
  3. Put a small backend in front of it, so the browser talks to your server and your server talks to the API.
  4. Cache results in your own database, so pages stay fast and you stay inside rate limits.
  5. Add monitoring: if the API goes down or changes, you get an alert before your customers notice.

Questions about Azure Cosmos DB APIs

Does the Azure Cosmos DB APIs need an API key?

Uses OAuth, so each user logs in and gives your app permission.

Is there an OpenAPI (Swagger) spec for Azure Cosmos DB APIs?

Yes. The spec is linked on this page, so you can generate a client or import it into Postman.

Can I call Azure Cosmos DB APIs from the browser?

It is not documented. Plan for a small server-side proxy to be safe.

Does Azure Cosmos DB APIs support HTTPS?

Yes, it is served over HTTPS.

Can you build an app with Azure Cosmos DB APIs for me?

Yes. FullStack Partner has developers who build and run products on APIs like this one. Send us a few lines and we reply with a plan and a fixed price.

Want a product built on Azure Cosmos DB APIs?

We have the tech people: developers, designers and project managers who have shipped dozens of live products. Tell us what you want to build and we reply with a plan and a fixed price. Are you interested?

No sales spam. One reply from a real person, usually within a day.

More Azure APIs

See all 147 Azure APIs