GraphQL: Technical Specifications, Benefits and Differences with REST


GraphQL is an open-source data query and manipulation language for APIs and a runtime for fulfilling queries with existing data. GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015. 

GraphQL provides a complete and understandable description of the data in your API, gives you the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.

Technical Specifications and Benefits of GraphQL

  • GraphQL provides an efficient, powerful and flexible approach to developing web APIs and has been compared with REST and other web service architectures.
  • GraphQL allows clients to define the structure of the data required and exactly the same structure of the data is returned from the server.
  • This prevents excessively large amounts of data from being returned, but at the same time has implications for how effective web caching of query results can be.
  • The flexibility and richness of the query language also adds complexity that may not be worthwhile for simple APIs.
  • GraphQL consists of a type system, query language and execution semantics, static validation and type introspection.
  • GraphQL supports reading, writing (mutating) and subscribing to changes to data (realtime updates).

Differences Between REST and GraphQL

  • In REST, you have to call multiple endpoints to fetch related resources. 
  • In GraphQL, there’s no difference between the fields on the Query type and the fields on any other type, except that only the query type is accessible at the root of a query.

To learn more details about GraphQL go to GraphQL.org


About Michael C. Bertoni

Michael C. Bertoni is the Founder and CTO of PhillyTech and has 20 years of experience in Technology, Software, and Business Development. He founded PhillyTech in December 2014, and has achieved 300% growth and 100% growth year over year. For over 20 years PhillyTech has been providing STRATEGIC BUSINESS DEVELOPMENT to clients throughout the Philadelphia region, Northeast, Mid-Atlantic and the United States. They work with funded and venture backed software and HealthTech companies as well as public, private and non-profit organizations. STRATEGIC BUSINESS DEVELOPMENT Strategic Business Development is the creation of long-term business value for an organization where you help them create a competitive advantage, drive revenue, increase productivity, customer satisfaction and lower costs through a combination of engineering and sales solutions. Engineering Solutions – Big Data, Artificial Intelligence, Machine Learning, Blockchain, Web & Mobile App, Staffing & Recruiting Solutions. Sales Solutions – Data Acquisition, Hyper-targeting, Lead Generation, Marketing, Events, Sales Coaching, Staffing & Recruiting Solutions. Michael has been a high achiever his entire life, lives with passion and strives for excellence. He firmly believes that any goal can be achieved, as long as the individual has the right mindset, develops a plan, executes and consistently improves along the way.