GraphQL is a query language for APIs and a runtime for executing queries. Unlike REST APIs where you have multiple endpoints returning fixed data structures, GraphQL has a single endpoint where clients specify exactly what data they need.
GraphQL was developed internally by Facebook in 2012 and open-sourced in 2015.