Subgraphs are application programming interfaces (APIs) that query blockchains for data and sort it in particular ways.