frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Is GraphQL Worth It?

3•codegeek•3mo ago
I like REST. I am working on a project that will have public APIs and of course, REST will be default. Is it even worth spending time on GraphQL ? I never really liked the concept and not sure if it ever gained real adoption other than a fringe minority.

Looking for open and honest discussion. If anyone successfully uses GraphQL for large open public projects, I would be very interesting in pros and cons.

Comments

apollo-watson•3mo ago
Disclaimer: I work at Apollo GraphQL as Head of DevRel

GraphQL is in public usage a lot, Postman's State of the API Report (https://www.postman.com/state-of-api/2025/#api-testing-and-t...) REST is still the largest but GraphQL is growing and at 33% in their survey. You can look at the recent GraphQL Conf (https://graphql.org/conf/2025/) and GraphQL Summit (https://summit.graphql.com/) for examples of companies running GraphQL in production today. The recordings for those conferences should be up soon.

There are some public facing GraphQL APIs that I think are great examples:

1. Braintree (https://developer.paypal.com/braintree/graphql/explorer) 2. Shopify Storefront (https://help.shopify.com/api/storefront-api) 3. Shopify Admin (https://shopify.dev/docs/api/admin-graphql) 4. Monday.com (https://monday.com/developers/v2/try-it-yourself) 5. Yelp (https://docs.developer.yelp.com/docs/graphql-intro)

Each of these APIs provide a "playground" like experience where you can sign in and start building/testing/executing operations within the docs page. The playground is a better DX than what you see in a Swagger UI "Try it" button because you can execute a GraphQL request that includes multiple entities. This type of request would typically require orchestrating multiple REST API calls in some code for developers.

A big benefit we've seen in the industry is being able to control the API orchestration for developers. With REST, the developers using your public API are using SDKs (provided or generated) and some code (most likely initially written/scaffolded by an Agent). For whatever use case they are building, they might need to interact with multiple of your endpoints. The code they write to do that is something you have little control over and many API teams will conduct developer interviews to come up with new endpoints that solve situations where a developer needed to call multiple endpoints. A GraphQL operation can be more representative of the intention of your user and allow them to cross endpoint boundaries. They no longer are writing code to orchestrate, just building the operation with the fields of information they need. GraphQL helps bridge those entity connections for developers without having to write code.

There are downsides for using GraphQL for a public API. Your documentation experience is typically different and in the examples I referenced, you can see they all have some "explanation" content that helps a developer understand how to make an API call. This is because GraphQL is less used than REST (33% vs 92% in Postman survey) and a new-to-GraphQL developer has to initially learn how to construct an operation in the playground. Internal developers that are familiar with REST will have to learn how to bring those capabilities to GraphQL (i.e. moving function code from routes to resolvers). It's not much different code-wise, but it's definitely a mind shift.

I also know many companies that use GraphQL for their internal usage of APIs, but provide only an external public REST API (and some of those REST APIs are just a facade over the GraphQL API). I don't think there is a wrong answer here. I personally like GraphQL because it enables an API to encapsulate a lot of business logic that is typically needed to connect entities in our domains. You of course can design REST APIs that give a similar feeling depending on your use case.

I hope this helps!

Show HN: GTM MCP Server- Let AI Manage Your Google Tag Manager Containers

https://github.com/paolobietolini/gtm-mcp-server
1•paolobietolini•42s ago•0 comments

Launch of X (Twitter) API Pay-per-Use Pricing

https://devcommunity.x.com/t/announcing-the-launch-of-x-api-pay-per-use-pricing/256476
1•thinkingemote•53s ago•0 comments

Facebook seemingly randomly bans tons of users

https://old.reddit.com/r/facebookdisabledme/
1•dirteater_•2m ago•1 comments

Global Bird Count

https://www.birdcount.org/
1•downboots•2m ago•0 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
2•soheilpro•4m ago•0 comments

Jon Stewart – One of My Favorite People – What Now? With Trevor Noah Podcast [video]

https://www.youtube.com/watch?v=44uC12g9ZVk
1•consumer451•7m ago•0 comments

P2P crypto exchange development company

1•sonniya•20m ago•0 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
1•jesperordrup•25m ago•0 comments

Write for Your Readers Even If They Are Agents

https://commonsware.com/blog/2026/02/06/write-for-your-readers-even-if-they-are-agents.html
1•ingve•25m ago•0 comments

Knowledge-Creating LLMs

https://tecunningham.github.io/posts/2026-01-29-knowledge-creating-llms.html
1•salkahfi•26m ago•0 comments

Maple Mono: Smooth your coding flow

https://font.subf.dev/en/
1•signa11•33m ago•0 comments

Sid Meier's System for Real-Time Music Composition and Synthesis

https://patents.google.com/patent/US5496962A/en
1•GaryBluto•40m ago•1 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
5•keepamovin•41m ago•1 comments

Show HN: Empusa – Visual debugger to catch and resume AI agent retry loops

https://github.com/justin55afdfdsf5ds45f4ds5f45ds4/EmpusaAI
1•justinlord•44m ago•0 comments

Show HN: Bitcoin wallet on NXP SE050 secure element, Tor-only open source

https://github.com/0xdeadbeefnetwork/sigil-web
2•sickthecat•46m ago•1 comments

White House Explores Opening Antitrust Probe on Homebuilders

https://www.bloomberg.com/news/articles/2026-02-06/white-house-explores-opening-antitrust-probe-i...
1•petethomas•46m ago•0 comments

Show HN: MindDraft – AI task app with smart actions and auto expense tracking

https://minddraft.ai
2•imthepk•51m ago•0 comments

How do you estimate AI app development costs accurately?

1•insights123•52m ago•0 comments

Going Through Snowden Documents, Part 5

https://libroot.org/posts/going-through-snowden-documents-part-5/
1•goto1•53m ago•0 comments

Show HN: MCP Server for TradeStation

https://github.com/theelderwand/tradestation-mcp
1•theelderwand•56m ago•0 comments

Canada unveils auto industry plan in latest pivot away from US

https://www.bbc.com/news/articles/cvgd2j80klmo
3•breve•57m ago•1 comments

The essential Reinhold Niebuhr: selected essays and addresses

https://archive.org/details/essentialreinhol0000nieb
1•baxtr•59m ago•0 comments

Rentahuman.ai Turns Humans into On-Demand Labor for AI Agents

https://www.forbes.com/sites/ronschmelzer/2026/02/05/when-ai-agents-start-hiring-humans-rentahuma...
1•tempodox•1h ago•0 comments

StovexGlobal – Compliance Gaps to Note

1•ReviewShield•1h ago•1 comments

Show HN: Afelyon – Turns Jira tickets into production-ready PRs (multi-repo)

https://afelyon.com/
1•AbduNebu•1h ago•0 comments

Trump says America should move on from Epstein – it may not be that easy

https://www.bbc.com/news/articles/cy4gj71z0m0o
7•tempodox•1h ago•4 comments

Tiny Clippy – A native Office Assistant built in Rust and egui

https://github.com/salva-imm/tiny-clippy
1•salvadorda656•1h ago•0 comments

LegalArgumentException: From Courtrooms to Clojure – Sen [video]

https://www.youtube.com/watch?v=cmMQbsOTX-o
1•adityaathalye•1h ago•0 comments

US moves to deport 5-year-old detained in Minnesota

https://www.reuters.com/legal/government/us-moves-deport-5-year-old-detained-minnesota-2026-02-06/
9•petethomas•1h ago•3 comments

If you lose your passport in Austria, head for McDonald's Golden Arches

https://www.cbsnews.com/news/us-embassy-mcdonalds-restaurants-austria-hotline-americans-consular-...
2•thunderbong•1h ago•0 comments