Discover/detik.com API
live

detik.com APIdetik.com

Access Detik.com articles via API. Search by keyword, browse by channel or tag, and extract full article content including author, body text, and publish date.

Endpoints
6
Updated
14d ago
Try it
Page number for pagination.
Search keyword (e.g. 'teknologi', 'ekonomi').
Sort order. Accepted values: 'relevance', 'time'.
Whether to include full article content for top 5 results.
api.parse.bot/scraper/b18c550f-e6bd-4d30-bbf4-25f638307091/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/b18c550f-e6bd-4d30-bbf4-25f638307091/search_articles?query=teknologi' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Search for articles by keyword on detik.com. Returns paginated results with optional full article content for top 5 results.

Input
ParamTypeDescription
pageintegerPage number for pagination.
queryrequiredstringSearch keyword (e.g. 'teknologi', 'ekonomi').
sortbystringSort order. Accepted values: 'relevance', 'time'.
include_contentbooleanWhether to include full article content for top 5 results.
Response
{
  "type": "object",
  "fields": {
    "total": "integer count of articles returned on this page",
    "articles": "array of article objects with title, url, snippet, publish_time, channel, thumbnail_url"
  },
  "sample": {
    "data": {
      "total": 21,
      "articles": [
        {
          "url": "https://inet.detik.com/consumer/d-8469851/kebiasaan-sepele-ini-bikin-kabel-charger-cepat-rusak-ini-cara-rawatnya",
          "title": "Kebiasaan Sepele Ini Bikin Kabel Charger Cepat Rusak",
          "channel": "",
          "snippet": "Kabel charger atau pengisi daya mungkin adalah perangkat teknologi yang paling sering diabaikan.",
          "publish_time": "53 menit yang lalu",
          "thumbnail_url": "https://akcdn.detik.net.id/community/media/visual/2026/04/01/ilustrasi-charger-hp-1775012702277_43.jpeg?w=250&q=90"
        }
      ]
    },
    "status": "success"
  }
}

About the detik.com API

The Detik.com API gives developers access to Indonesia's leading news portal through 6 endpoints covering search, channel browsing, tag-based filtering, and full article extraction. The get_article_detail endpoint returns the complete article body, author, publish date, image URL, and channel for any Detik.com article URL. Search endpoints return paginated result sets with titles, snippets, publish times, and thumbnail URLs.

Search and Discovery

The search_articles endpoint accepts a required query string and supports sorting by relevance or time. Set include_content to true to receive full article body text for the top 5 results in a single call, avoiding separate lookups. The search_news_only endpoint targets Detik's news-specific index and always returns results sorted by latest, useful when time-ordered coverage of a breaking topic matters more than relevance ranking. Both endpoints are paginated via the page parameter and return total, title, url, snippet, publish_time, channel, and thumbnail_url per article.

Channel and Tag Browsing

get_channel_articles lets you pull articles from named verticals: news, finance, food, inet, sport, health, travel, and oto. Pagination support varies by channel. get_articles_by_tag takes a tag slug — for example pemilu or teknologi — and returns paginated articles associated with that tag. Both endpoints echo the requested channel or tag name back in the response, making it straightforward to route results in multi-feed pipelines.

Full Article Extraction

get_article_detail takes a full Detik.com article URL and returns title, author, channel, content (the complete body text), image_url, and publish_date. This is the primary endpoint when you need article text rather than just headlines. The get_latest_news endpoint requires no parameters and returns up to 20 popular headlines from across all channels, each with the standard article summary fields.

Common use cases
  • Monitor Indonesian news coverage of a specific topic by polling search_articles with a keyword and sorting by time.
  • Build a news aggregator for Detik's finance or inet channels using get_channel_articles with pagination.
  • Extract full article text via get_article_detail for NLP pipelines such as sentiment analysis or topic modeling on Indonesian-language content.
  • Track election or political coverage by querying get_articles_by_tag with tags like pemilu and storing publish times.
  • Populate a daily briefing feed using get_latest_news to retrieve up to 20 current headlines with thumbnails and channel labels.
  • Cross-reference author output by extracting the author field from multiple get_article_detail calls and grouping by byline.
  • Feed article snippet and publish_time data into a timeline visualization of how a story evolves across Detik's channels.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Detik.com offer an official developer API?+
Detik.com does not publish an official public developer API or documented data access program for third-party developers.
What does `get_article_detail` return that search endpoints do not?+
Search endpoints return summary fields: title, url, snippet, publish_time, channel, and thumbnail_url. get_article_detail adds the full content body text, author byline, and a higher-resolution image_url. The include_content flag on search_articles partially bridges this gap but only for the top 5 results per page.
Does the API cover all Detik.com channels?+
get_channel_articles supports eight named channels: news, finance, food, inet, sport, health, travel, and oto. Other Detik verticals such as wolipop, hot, or edu are not currently covered. You can fork this API on Parse and revise it to add those missing channels.
Is there a way to filter articles by date range?+
The current endpoints do not expose a date-range filter. search_articles supports sorting by time to surface the most recent results first, and search_news_only always returns results in reverse-chronological order, but neither accepts explicit start or end date parameters. You can fork this API on Parse and revise it to add date-range filtering if the underlying source supports it.
How does pagination behave across endpoints?+
Most endpoints accept an integer page parameter. get_channel_articles notes that pagination support varies by channel, so some channels may not return additional pages beyond the first. get_latest_news accepts no parameters and always returns up to 20 articles with no pagination.
Page content last updated . Spec covers 6 endpoints from detik.com.
Related APIs in News MediaSee all →
arxiv.org API
Search and discover academic research papers on arXiv using keywords, authors, titles, categories, and dates, then access detailed metadata for any paper. Browse the complete arXiv category taxonomy to explore research across different scientific disciplines.
glastonburyfestivals.co.uk API
Discover historical and current Glastonbury Festival line-ups, find artist set times and stage locations, and search for specific performers across all festival years. Stay updated with the latest festival news and explore detailed information about festival areas and stages.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
maradminbot.com API
Search and retrieve official Marine Corps MARADMIN announcements from Marines.mil, filtering by year, status, and keyword to stay updated on the latest personnel and administrative directives. Get detailed information about specific announcements by number or browse the most recent updates to ensure you never miss critical Marine Corps guidance.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
allaboutcircuits.com API
Access educational electronics content from All About Circuits, including technical articles, circuit diagrams, textbook volumes, and forum discussions organized by category. Search and browse the latest resources, view detailed articles, explore engineering tools, and find answers across their community forums.
novelbin.me API
Search and browse novels by title, genre, or popularity, and explore trending, completed, or recently updated works. Access full novel details, chapter listings, chapter content, author information, related titles, and reader comments. Authenticated users can manage bookmarks with reading-status tracking and subscribe to novels for update notifications.
liquor.com API
Find and browse thousands of cocktail recipes with ratings and user reviews, search drinks by ingredient or category, and read curated articles about spirits and mixology. Get detailed recipe instructions, comments from other users, and expert content all in one place.