Menu
Back to Discussions

When you're picking between GraphQL and REST for public APIs, how do you decide?

Omar Benali
Omar Benali
·1075 views
Hey everyone, I'm trying to figure out the best API style for a new public service we're making. We have a lot of data that's nested, and our clients will usually need only specific bits of it. I'm thinking GraphQL might be good because it lets clients ask for just what they need, which could mean less wasted data. But then, REST is super common and has tons of tools. What do you all think about when picking for a public API, especially for how easy it is for developers to use, how fast it is for different client needs, and how easy it is to keep up over time?
19 comments

Comments

Loading comments...