Read Metadata

Last modified: November 05, 2021Author: Jakub Pomykała

This endpoint allows you to read metadata properties using a 'GET' request.

GET Endpoint

https://api.bannerly.io/api/v1/metadata

Example request

curl 
    --location 
    --request GET 'https://api.bannerly.io/api/v1/metadata?url=https://bannerly.com' \
    --header 'X-API-KEY: <API_KEY>'

Example response

{
    "title": "Bannerly",
    "description": "Automate your image generation using templates",
    "domain": "bannerly.io",
    "imageUrl": "https://bannerly.io/card.png",
    "metaTags": [
        {
            "name": "theme-color",
            "value": "#171B23"
        },
        {
            "name": "og:title",
            "value": "Banner Automation"
        },
        {
            "name": "og:image",
            "value": "https://bannerly.io/card.png"
        },
        {
            "name": "twitter:image",
            "value": "https://bannerly.io/card.png"
        },
        {
            "name": "twitter:card",
            "value": "summary_large_image"
        }
        //...
    ]
}