This document provides an overview of how to call Kakao APIs, intended for those new to the Kakao API.
Log in to Kakao Developers with your developer account.
If you do not have a developer account, sign in with your Kakao Account and click [Sign up] to register as a developer.
To use Kakao APIs, you need an app. If you do not have an app yet, create one first.
When calling Kakao APIs, you must pass the app key in the authorization header to identify which app is calling the API.
Go to [App] > [General] > [App keys] on the app management page to check your app keys. Depending on the platform or API, you may need different types of app keys. Each API development guide indicates which authorization method is required.
To easily make an API call without any prerequisites, let's call the Daum Search API as an example.
If you are not familiar with development, you can call Kakao API using the test tool provided by Kakao Developers.
You can check the request code examples along with the response result.
For the details on using the REST API test tool, see Test tool.
You can also call the API directly with the curl command in CLI (Command Line Interface).
As guided in the Developer documentation, put the REST API key in the authorization header to call the API. Be careful not to expose the REST API key to external parties.
curl -v -G GET "https://dapi.kakao.com/v2/search/web" \
--data-urlencode "query=Kakao" \
-H "Authorization: KakaoAK ${YOUR_REST_API_KEY}"
For example, if the REST API key is 6f95e7e3146********
, you can request as below.
curl -v -G GET "https://dapi.kakao.com/v2/search/web" \
--data-urlencode "query=Kakao" \
-H "Authorization: KakaoAK 6f95e7e3146********"
Request examples in the REST API documentation use curl, one of the CLI tools. You can run curl examples by opening a terminal (or command prompt) supported by each operating system.
As described above, you can use various APIs provided by the Kakao API platform. To call APIs, you must first complete the prerequisites required for each API.
At the top of each development guide, the Basic information table shows any prerequisites needed to call that API.
Each item in the Basic information table has the following meaning: