Skip to main content
Glama

Extract page metadata

extract_metadata
Idempotent

Exposes POST /meta. Reads everything a page declares about itself — Open Graph, Twitter cards, meta tags, JSON-LD, microdata and links — into one object with the same keys on every page: title, description, site name, kind of page, language, authors, publication and update dates, share image and video, favicon and icons, logo, feeds, keywords, canonical URL, robots directives, hreflang alternates, oEmbed endpoint and structured-data types, plus the raw og: and twitter: tags. A value the page does not declare is null or an empty list. Values injected by JavaScript are included, because the page is rendered first. 1 credit.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe page to fetch. Must be a public http(s) URL.
syncNoWait for the result and return it (default false). When false the call returns a token immediately and you collect the result with get_result.
labelsNoYour own keys to find this request by later, e.g. {"client": "acme"}: they come back with the result, in the webhook and in list_requests, which can filter by them. Up to 16 keys of up to 40 letters, digits, _ - or .; string values up to 256 characters.
max_ageNoHow fresh a stored result must be to be reused, e.g. "2 hours" or "3 days". Default 7 days, maximum 30. A reused result is free. Pass "0" to force a fresh fetch.
report_toNoAsync only: a webhook URL to deliver the result to. Defaults to the project's configured endpoint, if it has one.
project_idYesWhich project this request belongs to. From list_projects.
residentialNoFetch the page from a residential (home ISP) exit instead of a datacentre one. Costs a surcharge per page visit — see get_usage. Use it for sites that block datacentre traffic.
page_optionsNoWhat to do to the page before anything is read off it. Applies to the result itself: removed ads and banners are gone from html, markdown and summaries too, and what scrolling loaded is in all of them.
idempotency_keyNoMakes the call safe to retry: sending it again with the same key within 24 hours returns the first call's token and result instead of starting (and charging for) new work, even with max_age "0". Up to 255 printable ASCII characters; a UUID is ideal.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / page_options / description
      Previous value: -"What to do to the page before anything is read off it. Applies to the result itself: removed ads and banners are gone from html, markdown and summaries too."New value: +"What to do to the page before anything is read off it. Applies to the result itself: removed ads and banners are gone from html, markdown and summaries too, and what scrolling loaded is in all of them."
    • addedInput schema / properties / page_options / properties / scroll_to_bottom
      Added value: +{
      +  "description": "Scroll down the page before reading it, for as long as scrolling loads more (up to 25s). For listings and feeds that load their content as they are scrolled.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / page_options / properties / block_popups
      Added value: +{
      +  "description": "Remove newsletter, app-install and promotional popups laid over the page.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "additional_author_information": {
      -        "type": [
      -          "object",
      -          "null"
      -        ]
      -      },
      -      "author_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "description": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "favicon_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "feed_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "language": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "main_image_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "publication_date": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "title": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "labels": {
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "accepted",
      -        "type": "string"
      -      },
      -      "token": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "token",
      -      "status"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "alternates": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "hreflang": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hreflang",
      +            "url"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "authors": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "name": {
      +              "type": "string"
      +            },
      +            "profiles": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "url": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "name",
      +            "url",
      +            "profiles"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "canonical_url": {
      +        "description": "The page's canonical URL, absolute.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "description": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "favicon_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "feeds": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "title": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "type": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "url",
      +            "type",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "final_url": {
      +        "description": "The address the page ended on, after its redirects.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "generator": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "icons": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "rel": {
      +              "type": "string"
      +            },
      +            "sizes": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "type": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "url",
      +            "rel",
      +            "sizes",
      +            "type"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "image": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alt": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "height": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": "string"
      +          },
      +          "width": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "url",
      +          "width",
      +          "height",
      +          "alt",
      +          "type"
      +        ],
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "keywords": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "language": {
      +        "description": "ISO 639-1 code of the language the content is written in.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "locale": {
      +        "description": "The most specific language tag the page declares for that language, BCP 47 (en-US).",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "logo_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "manifest_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "modified_at": {
      +        "description": "ISO 8601, as published_at.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "oembed_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "open_graph": {
      +        "additionalProperties": false,
      +        "description": "The page's og: tags as declared.",
      +        "properties": {
      +          "description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "image": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "locale": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "site_name": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "title",
      +          "description",
      +          "image",
      +          "url",
      +          "type",
      +          "site_name",
      +          "locale"
      +        ],
      +        "type": "object"
      +      },
      +      "published_at": {
      +        "description": "ISO 8601: a date (2024-05-01) or a moment with its offset.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "robots": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "follow": {
      +            "type": "boolean"
      +          },
      +          "index": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "index",
      +          "follow"
      +        ],
      +        "type": "object"
      +      },
      +      "site_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "structured_data_types": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "theme_color": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "description": "The page's own title, without the site's name around it.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "twitter": {
      +        "additionalProperties": false,
      +        "description": "The page's twitter: tags as declared.",
      +        "properties": {
      +          "card": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "creator": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "image": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "site": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "card",
      +          "site",
      +          "creator",
      +          "title",
      +          "description",
      +          "image"
      +        ],
      +        "type": "object"
      +      },
      +      "type": {
      +        "description": "The kind of page, as the page declares it.",
      +        "enum": [
      +          "article",
      +          "website",
      +          "profile",
      +          "book",
      +          "product",
      +          "video",
      +          "music",
      +          "place",
      +          "event",
      +          "recipe",
      +          null
      +        ],
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "video": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "height": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": "string"
      +          },
      +          "width": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "url",
      +          "type",
      +          "width",
      +          "height"
      +        ],
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "final_url",
      +      "canonical_url",
      +      "title",
      +      "description",
      +      "site_name",
      +      "type",
      +      "language",
      +      "locale",
      +      "authors",
      +      "published_at",
      +      "modified_at",
      +      "image",
      +      "video",
      +      "favicon_url",
      +      "icons",
      +      "logo_url",
      +      "feeds",
      +      "keywords",
      +      "theme_color",
      +      "generator",
      +      "manifest_url",
      +      "robots",
      +      "open_graph",
      +      "twitter",
      +      "alternates",
      +      "oembed_url",
      +      "structured_data_types"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "labels": {
      +        "type": "object"
      +      },
      +      "status": {
      +        "const": "accepted",
      +        "type": "string"
      +      },
      +      "token": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "token",
      +      "status"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "additional_author_information": {
      -        "type": [
      -          "object",
      -          "null"
      -        ]
      -      },
      -      "author_name": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "description": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "favicon_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "feed_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "language": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "main_image_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "publication_date": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "title": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "labels": {
      -        "type": "object"
      -      },
      -      "status": {
      -        "const": "accepted",
      -        "type": "string"
      -      },
      -      "token": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "additional_author_information": {
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "author_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "description": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "favicon_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "feed_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "language": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "main_image_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "publication_date": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "labels": {
      +        "type": "object"
      +      },
      +      "status": {
      +        "const": "accepted",
      +        "type": "string"
      +      },
      +      "token": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "token",
      +      "status"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "additional_author_information": {
      +          "type": [
      +            "object",
      +            "null"
      +          ]
      +        },
      +        "author_name": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "description": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "favicon_url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "feed_url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "language": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "main_image_url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "publication_date": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "title": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "labels": {
      +          "type": "object"
      +        },
      +        "status": {
      +          "const": "accepted",
      +          "type": "string"
      +        },
      +        "token": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources