Extract meta-data from any website

with one simple API call.

An API that fetches meta, open graph data, schema.org tags from any given website.

Send a request with any URL:

https://getmetadata.fly.dev/v1/meta?url=https://en.wikipedia.org/wiki/Batman

which returns the following JSON.

{
   "meta":{
      "title":"Batman - Wikipedia",
      "description":"Batman"
   },

   "openGraph":{
      "image":"https://upload.wikimedia.org/wikipedia/en/c/c7/Batman_Infobox.jpg",
      "image:width":"640",
      "image:height":"1061",
      "title":"Batman - Wikipedia",
      "type":"website"
   },

   "schema":[
      {
         "@context":"https://schema.org",
         "@type":"Article",
         "name":"Batman",
         "url":"https://en.wikipedia.org/wiki/Batman",
         "sameAs":"http://www.wikidata.org/entity/Q2695156",
         "mainEntity":"http://www.wikidata.org/entity/Q2695156",
         "author":{
            "@type":"Organization",
            "name":"Contributors to Wikimedia projects"
         },

         "publisher":{
            "@type":"Organization",
            "name":"Wikimedia Foundation, Inc.",
            "logo":{
               "@type":"ImageObject",
               "url":"https://www.wikimedia.org/static/images/wmf-hor-googpub.png"
            }
         },

         "datePublished":"2001-10-23T04:05:04Z",
         "dateModified":"2023-10-28T07:19:29Z",
         "image":"https://upload.wikimedia.org/wikipedia/en/c/c7/Batman_Infobox.jpg",
         "headline":"comic book superhero"
      }
   ]
}
          

Built with Elysia + Cheerio with Bun runtime

View Repo: Github