Wrote an article
Here's how you can bring your own data in Gatsby, adding it to the GraphQL data layer. You see an example with Webmentions. You can ♻️ upcycle the code here for other APIs. Hope you find it useful.

https://rodneylab.com/add-data-gatsby-graphql/