<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/your-first-api-call-wa5tlrj2f" -->

---
title: Your First API Call | daily.dev
description: A getting-started guide for the DeepSeek API, which is compatible with OpenAI and Anthropic SDK formats. Covers base URL configuration, API key setup,...
canonical: https://daily.dev/posts/your-first-api-call-wa5tlrj2f
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Your First API Call | daily.dev
og:description: A getting-started guide for the DeepSeek API, which is compatible with OpenAI and Anthropic SDK formats. Covers base URL configuration, API key setup,...
og:url: https://daily.dev/posts/your-first-api-call-wa5tlrj2f
og:image: https://api.daily.dev/og/posts/wa5tlRJ2F.png
og:image:alt: Your First API Call
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Your First API Call

**[Hacker News](https://daily.dev/sources/hn)** · 1 min read · 1 upvotes · 0 comments

## Summary

A getting-started guide for the DeepSeek API, which is compatible with OpenAI and Anthropic SDK formats. Covers base URL configuration, API key setup, available model names (deepseek-v4-flash, deepseek-v4-pro, and deprecated aliases), and basic chat completion calls via curl, Python, and Node.js.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://api-docs.deepseek.com/>

## Similar posts on daily.dev

- [Untitled](https://daily.dev/posts/untitled-djlkxaqpz) · SitePoint · 0 upvotes · 0 comments
- [DeepSeek V4 API: The Complete Developer Guide](https://daily.dev/posts/deepseek-v4-api-the-complete-developer-guide-k3pjsweak) · SitePoint · 1 upvotes · 0 comments
- [DeepSeek V4 Pro 0813 quietly released](https://daily.dev/posts/deepseek-v4-pro-0813-quietly-released-omfkrx9kj) · Hacker News · 0 upvotes · 0 comments
- [Deepseek V4 on AI Gateway](https://daily.dev/posts/deepseek-v4-on-ai-gateway-nas1vjnsv) · Vercel · 0 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#openai](https://daily.dev/tags/openai), [#rest-api](https://daily.dev/tags/rest-api), [#deepseek](https://daily.dev/tags/deepseek)

[View this post on daily.dev](https://daily.dev/posts/your-first-api-call-wa5tlrj2f)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Your First API Call","url":"https://daily.dev/posts/your-first-api-call-wa5tlrj2f","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/your-first-api-call-wa5tlrj2f"},"datePublished":"2026-04-24T03:59:49.413Z","dateModified":"2026-04-24T04:00:07.965Z","description":"A getting-started guide for the DeepSeek API, which is compatible with OpenAI and Anthropic SDK formats. Covers base URL configuration, API key setup,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/95522f4228072daabc6b02395f7b6719?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/95522f4228072daabc6b02395f7b6719?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/your-first-api-call-wa5tlrj2f","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,openai,rest-api,deepseek","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Your First API Call"}]}
```

