NAVNavbar
cURL php NodeJS Python cSharp

Live LLM Mentions

‌‌
Live LLM Mentions Search endpoint provides mention data and related metrics from AI searches. The results are specific to the selected platform (google for Google’s AI Overview or chat_gpt for ChatGPT), as well as location and language parameters (see the List of Locations & Languages).

Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-access

<?php

/**
 * Method: POST
 * Endpoint: https://api.dataforseo.com/v3/ai_optimization/llm_mentions/search/live
 * @see https://docs.dataforseo.com/v3/ai_optimization/llm_mentions/search/live
 */

require_once __DIR__ . '/../../../../../lib/RestClient.php';
$config = require __DIR__ . '/../../../../../lib/config.php';

$client = new RestClient($config['base_url'], null, $config['login'], $config['password']);

$data = [
    [
        'language_name' => 'English',
        'location_code' => 2840,
        'target' => [
            [
                'domain' => 'dataforseo.com',
                'search_filter' => 'exclude',
            ],
            [
                'keyword' => 'bmw',
                'search_scope' => [
                    'answer',
                ],
            ],
        ],
        'platform' => 'google',
        'filters' => [
            [
                'ai_search_volume',
                '>',
                1000,
            ],
        ],
        'order_by' => [
            'ai_search_volume,desc',
        ],
        'limit' => 3,
    ],
];
try {
    $result = $client->post('/v3/ai_optimization/llm_mentions/search/live', $data);
    print_r($result);
    // do something with post result
} catch (RestClientException $e) {
    printf(
        "HTTP code: %d\nError code: %d\nMessage: %s\nTrace: %s\n",
        $e->getHttpCode(),
        $e->getCode(),
        $e->getMessage(),
        $e->getTraceAsString()
    );
}

The above command returns JSON structured like this:

{
  "version": "0.1.20250828",
  "status_code": 20000,
  "status_message": "Ok.",
  "time": "0.3193 sec.",
  "cost": 0.0103,
  "tasks_count": 1,
  "tasks_error": 0,
  "tasks": [
    {
      "id": "09031945-0696-0634-0000-82b907de19bb",
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.1902 sec.",
      "cost": 0.0103,
      "result_count": 1,
      "path": [
        "v3",
        "ai_optimization",
        "llm_mentions",
        "search",
        "live"
      ],
      "data": {
        "api": "ai_optimization",
        "function": "search",
        "language_name": "English",
        "location_code": 2840,
        "target": [
          {
            "domain": "dataforseo.com",
            "search_filter": "exclude"
          },
          {
            "keyword": "bmw",
            "search_scope": [
              "answer"
            ]
          }
        ],
        "platform": "google",
        "filters": [
          [
            "ai_search_volume",
            ">",
            1000
          ]
        ],
        "order_by": [
          "ai_search_volume,desc"
        ],
        "offset": 0,
        "limit": 1
      },
      "result": [
        {
          "total_count": 1720,
          "current_offset": 0,
          "search_after_token": "eyJDdXJyZW50T2Zmc2V0IjozLCJSYXdSZXF1ZXN0Ijp7InRhcmdldCI6W3sidHlwZSI6ImRvbWFpbiIsImRvbWFpbiI6ImRhdGFmb3JzZW8uY29tIiwic2VhcmNoX3Njb3BlIjpbImFueSJdLCJzZWFyY2hfdHlwZSI6ImV4Y2x1ZGUifSx7InR5cGUiOiJrZXl3b3JkIiwia2V5d29yZCI6ImJtdyIsInNlYXJjaF9zY29wZSI6WyJhbnN3ZXIiXSwic2VhcmNoX3R5cGUiOiJpbmNsdWRlIiwiZW50cnlfdHlwZSI6IndvcmRfbWF0Y2gifV0sInBsYXRmb3JtIjoiZ29vZ2xlIiwibGFuZ3VhZ2UiOiJlbiIsImxvY2F0aW9uIjoyODQwLCJsaW1pdCI6Mywib2Zmc2V0IjowLCJvcmRlcl9ieSI6eyJvcmRlcl9maWVsZCI6ImFpX3NlYXJjaF92b2x1bWUiLCJvcmRlcl90eXBlIjoiZGVzYyJ9LCJxdWVyeSI6eyJmaWVsZCI6ImFpX3NlYXJjaF92b2x1bWUiLCJ0eXBlIjoiZ3QiLCJ2YWx1ZSI6MTAwMH0sInNlYXJjaF9hZnRlcl90b2tlbiI6bnVsbH0sIlNlYXJjaEFmdGVyRGF0YSI6eyJWZXJzaW9uIjoxLCJTZWFyY2hBZnRlclZhbHVlcyI6eyJhaV9zZWFyY2hfdm9sdW1lIjoxMzUwMDAsIl9zY29yZSI6MTEuOTc0OTg3fSwiVG9rZW5SZWFsT2Zmc2V0IjowfX0=",
          "items_count": 1,
          "items": [
            {
              "platform": "google",
              "location_code": 2840,
              "language_code": "en",
              "question": "bmw f82 m4",
              "answer": "![BMW M4 Coupe (F82) Specs, Performance & Photos - 2014, 2015 ...](https://api.dataforseo.com/cdn/i/08241059-1087-0066-0000-323d205cd466:5)\n`The F82 is the internal BMW designation for the 2015-2020 M4 Coupe` , a performance car featuring a 3.0-liter twin-turbocharged inline-six [S55 engine](https://www.google.com/search?num=100&sca_esv=90c02b908651c17b&hl=en&gl=US&glp=1&q=S55+engine&sa=X&ved=2ahUKEwjDnv2776OPAxX7wjgGHZIbA1IQxccNegQINBAC) and [rear-wheel drive](https://www.google.com/search?num=100&sca_esv=90c02b908651c17b&hl=en&gl=US&glp=1&q=rear-wheel+drive&sa=X&ved=2ahUKEwjDnv2776OPAxX7wjgGHZIbA1IQxccNegQINBAD).It was a significant model, known for its dynamic abilities and performance-focused design, and was succeeded by the G82 generation M4.  \n[[1]](https://www.youtube.com/watch?v=NWO4Y7qPCGU&t=14)[[2]](https://www.youtube.com/watch?v=j2XX2KWVRP4&t=40)[[3]](https://www.classic.com/m/bmw/4-series/f32/m4/#:~:text=BMW%20introduced%20the%20Motorsport%20version,%29%20and%20F83%20%28...&text=READ%20MORE-,BMW%20introduced%20the%20Motorsport%20version%20of%20the%204%20Series%2C%20the,by%20the%20G82%20BMW%20M4.&text=Q:%20What%20is%20the%20highest,BMW%20M4%20-%20F82%20is%20$51%2C341.)[[4]](https://bimmerplug.com/blogs/bimmer-plug-blogs/bmw-f82-m4-upgrade-performance-parts-and-accessories#:~:text=BMW%20F82%20M4%20Upgrades:%20Performance%2C%20Parts%2C%20and,425%20horsepower%20and%20406%20lb-ft%20of%20torque.)[[5]](https://www.edmunds.com/bmw/m4/2015/features-specs/#:~:text=Used%202015%20BMW%20M4%20-%20Specs%20&,11.0%20cu.%20ft.%20Curb%20Weight%203%2C530%20lbs.)\n\nYou can watch this video to learn more about the BMW M4 F82:\n\n[![](https://api.dataforseo.com/cdn/i/08241059-1087-0066-0000-323d205cd466:6)\nAuto Seven 7\nYouTube · Jan 21, 2025](https://www.youtube.com/watch?v=Oq2ctVoi9rA&t=624)\n\nKey characteristics\n\n- **Engine:** S55 3.0-liter twin-turbo inline-six engine.[[1]](https://www.youtube.com/watch?v=j2XX2KWVRP4&t=40)[[2]](https://www.classic.com/m/bmw/4-series/f32/m4/#:~:text=BMW%20introduced%20the%20Motorsport%20version,%29%20and%20F83%20%28...&text=READ%20MORE-,BMW%20introduced%20the%20Motorsport%20version%20of%20the%204%20Series%2C%20the,by%20the%20G82%20BMW%20M4.&text=Q:%20What%20is%20the%20highest,BMW%20M4%20-%20F82%20is%20$51%2C341.)\n- **Drivetrain:** Rear-wheel drive.[[1]](https://www.evo.co.uk/bmw/m4/page/0/1#:~:text=The%20F82%20M4%20is%20a,a%201537kg%20rear-drive%20car.)\n- **Body style:** Coupe.[[1]](https://www.classic.com/m/bmw/4-series/f32/m4/#:~:text=BMW%20introduced%20the%20Motorsport%20version,%29%20and%20F83%20%28...&text=READ%20MORE-,BMW%20introduced%20the%20Motorsport%20version%20of%20the%204%20Series%2C%20the,by%20the%20G82%20BMW%20M4.&text=Q:%20What%20is%20the%20highest,BMW%20M4%20-%20F82%20is%20$51%2C341.)\n- **Performance:** It was known for its powerful mid-range and ability to accelerate from 0 to 100 km/h in around 4.1 seconds with the optional [DCT gearbox](https://www.google.com/search?num=100&sca_esv=90c02b908651c17b&hl=en&gl=US&glp=1&q=DCT+gearbox&sa=X&ved=2ahUKEwjDnv2776OPAxX7wjgGHZIbA1IQxccNegUItQUQAQ).[[1]](https://www.youtube.com/watch?v=j2XX2KWVRP4&t=40)[[2]](https://www.evo.co.uk/bmw/m4/page/0/1#:~:text=The%20F82%20M4%20is%20a,a%201537kg%20rear-drive%20car.)\n- **Variants:** The F82 M4 was available in various forms, including the Competition Package, GTS, CS, DTM Champion Edition, and Edition M Heritage.[[1]](https://www.bmwusa.com/limited-edition-vehicles/m4-edition-m-heritage.html#:~:text=The%20color%20of%20M.,matched%20to%20the%20exterior%20color.)[[2]](https://www.classic.com/m/bmw/4-series/f32/m4/#:~:text=BMW%20introduced%20the%20Motorsport%20version,%29%20and%20F83%20%28...&text=READ%20MORE-,BMW%20introduced%20the%20Motorsport%20version%20of%20the%204%20Series%2C%20the,by%20the%20G82%20BMW%20M4.&text=Q:%20What%20is%20the%20highest,BMW%20M4%20-%20F82%20is%20$51%2C341.)\n- **Production:** Production for the F82 M4 ran from 2015 to 2020.[[1]](https://www.classic.com/m/bmw/4-series/f32/m4/#:~:text=BMW%20introduced%20the%20Motorsport%20version,%29%20and%20F83%20%28...&text=READ%20MORE-,BMW%20introduced%20the%20Motorsport%20version%20of%20the%204%20Series%2C%20the,by%20the%20G82%20BMW%20M4.&text=Q:%20What%20is%20the%20highest,BMW%20M4%20-%20F82%20is%20$51%2C341.)\n\nLegacy and Replacement[[1]](https://www.classic.com/m/bmw/4-series/f32/m4/#:~:text=BMW%20introduced%20the%20Motorsport%20version,%29%20and%20F83%20%28...&text=READ%20MORE-,BMW%20introduced%20the%20Motorsport%20version%20of%20the%204%20Series%2C%20the,by%20the%20G82%20BMW%20M4.&text=Q:%20What%20is%20the%20highest,BMW%20M4%20-%20F82%20is%20$51%2C341.)\n\n- The F82 M4 was a popular performance car, often used in motorsports.\n- It was replaced by the G82 M4, which continued the high-performance tradition of the M4.\n\nThis video compares the F82 M4 with the G82 M4:\n\n[![](https://i.ytimg.com/vi/-MqztpUL52M/mqdefault.jpg?sqp=-oaymwEGCPgEEOQC&rs=AMzJL3kgZTeZT7JInOiO2YygQEHuv3qDfw)\nMotoGear Garage\nYouTube · May 10, 2025](https://www.youtube.com/watch?v=-MqztpUL52M&t=1485)",
              "sources": [
                {
                  "snippet": "May 18, 2025 — for a non-competition. model with around 50 to 60k miles that's what sort of price you're going to be looking at and w...",
                  "source_name": "YouTube ·",
                  "thumbnail": null,
                  "markdown": null,
                  "position": 1,
                  "title": "I Bought An F82 M4 To Daily... Then This Happened.",
                  "domain": "www.youtube.com",
                  "url": "https://www.youtube.com/watch?v=NWO4Y7qPCGU&t=14",
                  "publication_date": null
                },
                {
                  "snippet": "Jun 28, 2025 — so today I'm going to talk to you about well our second company Evolution M we modified BMWs and of course we did modi...",
                  "source_name": "YouTube ·",
                  "thumbnail": null,
                  "markdown": null,
                  "position": 2,
                  "title": "our BMW M4 F82 with 173.453 KM gets BEST MODS inc VMAX DELETE!",
                  "domain": "www.youtube.com",
                  "url": "https://www.youtube.com/watch?v=j2XX2KWVRP4&t=40",
                  "publication_date": null
                },
                {
                  "snippet": "The color of M. Laguna Seca Blue. Velvet Blue. Imola Red II. The distinctive paint finishes of the BMW M4 Edition M Heritage pay h...",
                  "source_name": "BMW USA",
                  "thumbnail": null,
                  "markdown": null,
                  "position": 3,
                  "title": "BMW M4 Edition M Heritage – Limited Edition Vehicle - BMW USA",
                  "domain": "www.bmwusa.com",
                  "url": "https://www.bmwusa.com/limited-edition-vehicles/m4-edition-m-heritage.html#:~:text=The%20color%20of%20M.,matched%20to%20the%20exterior%20color.",
                  "publication_date": null
                },
                {
                  "snippet": "BMW introduced the Motorsport version of the 4 Series, the M4, for the 2015 model year. Known internally at BMW as the F82 (Coupe)",
                  "source_name": "Classic.com",
                  "thumbnail": null,
                  "markdown": null,
                  "position": 4,
                  "title": "BMW M4 - F82 Market - CLASSIC.COM",
                  "domain": "www.classic.com",
                  "url": "https://www.classic.com/m/bmw/4-series/f32/m4/#:~:text=BMW%20introduced%20the%20Motorsport%20version,)%20and%20F83%20(...&text=READ%20MORE-,BMW%20introduced%20the%20Motorsport%20version%20of%20the%204%20Series%2C%20the,by%20the%20G82%20BMW%20M4.&text=Q:%20What%20is%20the%20highest,BMW%20M4%20-%20F82%20is%20$51%2C341.",
                  "publication_date": null
                },
                {
                  "snippet": "Feb 12, 2025 — The F82 M4 is a very quick car indeed. In our own testing it managed to crack 100mph in just 8.6sec, which makes it as...",
                  "source_name": "evo.co.uk",
                  "thumbnail": null,
                  "markdown": null,
                  "position": 5,
                  "title": "BMW M4 (F82, 2014-2020) – performance and 0-60mph time | Evo",
                  "domain": "www.evo.co.uk",
                  "url": "https://www.evo.co.uk/bmw/m4/page/0/1#:~:text=The%20F82%20M4%20is%20a,a%201537kg%20rear-drive%20car.",
                  "publication_date": null
                },
                {
                  "snippet": "BMW F82 M4 Upgrades: Performance, Parts, and Accessories The BMW F82 M4 is a high-performance sports car produced from 20154 to 20...",
                  "source_name": "Bimmer Plug",
                  "thumbnail": null,
                  "markdown": null,
                  "position": 6,
                  "title": "BMW F82 M4 Upgrades: Performance, Parts, and Accessories",
                  "domain": "bimmerplug.com",
                  "url": "https://bimmerplug.com/blogs/bimmer-plug-blogs/bmw-f82-m4-upgrade-performance-parts-and-accessories#:~:text=BMW%20F82%20M4%20Upgrades:%20Performance%2C%20Parts%2C%20and,425%20horsepower%20and%20406%20lb-ft%20of%20torque.",
                  "publication_date": null
                },
                {
                  "snippet": "Used 2015 BMW M4 - Specs & Features Combined MPG 20 MPG Drive Type rear wheel drive Total Seating 4 Cargo Capacity 11.0 cu. ft. Cu...",
                  "source_name": "Edmunds",
                  "thumbnail": null,
                  "markdown": null,
                  "position": 7,
                  "title": "Used 2015 BMW M4 Specs & Features",
                  "domain": "www.edmunds.com",
                  "url": "https://www.edmunds.com/bmw/m4/2015/features-specs/#:~:text=Used%202015%20BMW%20M4%20-%20Specs%20&,11.0%20cu.%20ft.%20Curb%20Weight%203%2C530%20lbs.",
                  "publication_date": null
                }
              ],
              "search_results": null,
              "ai_search_volume": 301000,
              "monthly_searches": [
                {
                  "year": 2025,
                  "month": 6,
                  "search_volume": 301000
                },
                {
                  "year": 2025,
                  "month": 5,
                  "search_volume": 368000
                },
                {
                  "year": 2025,
                  "month": 4,
                  "search_volume": 368000
                },
                {
                  "year": 2025,
                  "month": 3,
                  "search_volume": 301000
                },
                {
                  "year": 2025,
                  "month": 2,
                  "search_volume": 246000
                },
                {
                  "year": 2025,
                  "month": 1,
                  "search_volume": 246000
                },
                {
                  "year": 2024,
                  "month": 12,
                  "search_volume": 246000
                },
                {
                  "year": 2024,
                  "month": 11,
                  "search_volume": 246000
                },
                {
                  "year": 2024,
                  "month": 10,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 9,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 8,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 7,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 6,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 5,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 4,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 3,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 2,
                  "search_volume": 301000
                },
                {
                  "year": 2024,
                  "month": 1,
                  "search_volume": 246000
                },
                {
                  "year": 2023,
                  "month": 12,
                  "search_volume": 246000
                },
                {
                  "year": 2023,
                  "month": 11,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 10,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 9,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 8,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 7,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 6,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 5,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 4,
                  "search_volume": 201000
                },
                {
                  "year": 2023,
                  "month": 3,
                  "search_volume": 165000
                },
                {
                  "year": 2023,
                  "month": 2,
                  "search_volume": 165000
                },
                {
                  "year": 2023,
                  "month": 1,
                  "search_volume": 201000
                },
                {
                  "year": 2022,
                  "month": 12,
                  "search_volume": 165000
                },
                {
                  "year": 2022,
                  "month": 11,
                  "search_volume": 165000
                },
                {
                  "year": 2022,
                  "month": 10,
                  "search_volume": 165000
                },
                {
                  "year": 2022,
                  "month": 9,
                  "search_volume": 165000
                },
                {
                  "year": 2022,
                  "month": 8,
                  "search_volume": 201000
                },
                {
                  "year": 2022,
                  "month": 7,
                  "search_volume": 201000
                },
                {
                  "year": 2022,
                  "month": 6,
                  "search_volume": 165000
                },
                {
                  "year": 2022,
                  "month": 5,
                  "search_volume": 201000
                },
                {
                  "year": 2022,
                  "month": 4,
                  "search_volume": 165000
                },
                {
                  "year": 2022,
                  "month": 3,
                  "search_volume": 165000
                },
                {
                  "year": 2022,
                  "month": 2,
                  "search_volume": 135000
                },
                {
                  "year": 2022,
                  "month": 1,
                  "search_volume": 165000
                },
                {
                  "year": 2021,
                  "month": 12,
                  "search_volume": 165000
                },
                {
                  "year": 2021,
                  "month": 11,
                  "search_volume": 165000
                },
                {
                  "year": 2021,
                  "month": 10,
                  "search_volume": 165000
                },
                {
                  "year": 2021,
                  "month": 9,
                  "search_volume": 165000
                },
                {
                  "year": 2021,
                  "month": 8,
                  "search_volume": 165000
                },
                {
                  "year": 2021,
                  "month": 7,
                  "search_volume": 201000
                },
                {
                  "year": 2021,
                  "month": 6,
                  "search_volume": 165000
                },
                {
                  "year": 2021,
                  "month": 5,
                  "search_volume": 201000
                },
                {
                  "year": 2021,
                  "month": 4,
                  "search_volume": 201000
                },
                {
                  "year": 2021,
                  "month": 3,
                  "search_volume": 201000
                },
                {
                  "year": 2021,
                  "month": 2,
                  "search_volume": 135000
                },
                {
                  "year": 2021,
                  "month": 1,
                  "search_volume": 135000
                },
                {
                  "year": 2020,
                  "month": 12,
                  "search_volume": 135000
                },
                {
                  "year": 2020,
                  "month": 11,
                  "search_volume": 135000
                },
                {
                  "year": 2020,
                  "month": 10,
                  "search_volume": 165000
                },
                {
                  "year": 2020,
                  "month": 9,
                  "search_volume": 165000
                },
                {
                  "year": 2020,
                  "month": 8,
                  "search_volume": 165000
                },
                {
                  "year": 2020,
                  "month": 7,
                  "search_volume": 165000
                },
                {
                  "year": 2020,
                  "month": 6,
                  "search_volume": 165000
                },
                {
                  "year": 2020,
                  "month": 5,
                  "search_volume": 590
                },
                {
                  "year": 2020,
                  "month": 4,
                  "search_volume": 590
                },
                {
                  "year": 2020,
                  "month": 3,
                  "search_volume": 110000
                },
                {
                  "year": 2020,
                  "month": 2,
                  "search_volume": 110000
                },
                {
                  "year": 2020,
                  "month": 1,
                  "search_volume": 110000
                },
                {
                  "year": 2019,
                  "month": 12,
                  "search_volume": 110000
                },
                {
                  "year": 2019,
                  "month": 11,
                  "search_volume": 135000
                },
                {
                  "year": 2019,
                  "month": 10,
                  "search_volume": 135000
                },
                {
                  "year": 2019,
                  "month": 9,
                  "search_volume": 135000
                },
                {
                  "year": 2019,
                  "month": 8,
                  "search_volume": 880
                },
                {
                  "year": 2019,
                  "month": 7,
                  "search_volume": 880
                },
                {
                  "year": 2019,
                  "month": 6,
                  "search_volume": 590
                },
                {
                  "year": 2019,
                  "month": 5,
                  "search_volume": 480
                },
                {
                  "year": 2019,
                  "month": 4,
                  "search_volume": 480
                },
                {
                  "year": 2019,
                  "month": 3,
                  "search_volume": 480
                },
                {
                  "year": 2019,
                  "month": 2,
                  "search_volume": 480
                },
                {
                  "year": 2019,
                  "month": 1,
                  "search_volume": 590
                },
                {
                  "year": 2018,
                  "month": 12,
                  "search_volume": 480
                },
                {
                  "year": 2018,
                  "month": 11,
                  "search_volume": 480
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

All POST data should be sent in the JSON format (UTF-8 encoding). The task setting is done using the POST method. When setting a task, you should send all task parameters in the task array of the generic POST array. You can send up to 2000 API calls per minute, each Live LLM Mentions API call can contain only one task.

Execution time for tasks set with the Live LLM Mentions endpoint is currently up to 120 seconds.

Below you will find a detailed description of the fields you can use for setting a task.

Description of the fields for setting a task:

Field name Type Description
target array array of objects containing target entities
required field
you can specify up to 10 entities (objects) in the target field
one target entity can contain either one domain or one keyword and related parameters

examples:

target array with a domain entity
[{"domain": "en.wikipedia.org", "search_filter": "exclude"}]
target array with a keyword entity
[{"keyword": "bmw", "search_scope": ["question"], "match_type ": "partial_match"}]
target array with multiple entities
[{"domain": "en.wikipedia.org", "search_filter": "exclude"}, {"keyword": "bmw", "match_type ": "partial_match", "search_scope": ["answer"]}]

       ‘domain’ entity object domain entity in the target array
example:
{"domain": "en.wikipedia.org", "search_filter": "exclude", "search_scope": ["sources"]}
        domain string target domain
required field if you don’t specify keyword
a domain should be specified without https:// and www.
        search_filter string target domain search filter
optional field
possible values:
include, exclude
default value: include
        search_scope array target domain search scope
optional field
possible values:
any, sources, search_results
default value: any
       ‘keyword’ entity object keyword entity in the target array
example:
{"keyword": "bmw", "search_filter": "include", "search_scope": ["question"], "match_type ": "partial_match"}
        keyword string target keyword
required field if you don’t specify domain
you can specify up to 2000 characters in the keyword field
all %## will be decoded (plus character ‘+’ will be decoded to a space character)
if you need to use the “%” character for your keyword, please specify it as “%25”;
if you need to use the “+” character for your keyword, please specify it as “%2B”

learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article

        search_filter string target keyword search filter
optional field
possible values:
include, exclude
default value: include
        search_scope array target keyword search scope
optional field
possible values:
any, question, answer
default value: any
        match_type string target keyword match type
defines how the specified keyword is matched
optional field
possible values:
word_match – full-text search for terms that match the specified seed keyword with additional words included before, after, or within the key phrase (e.g., search for “light” will return results with “light bulb”, “light switch”);
partial_match – substring search that finds all instances containing the specified sequence of characters, even if it appears inside a longer word (e.g., search for “light” will return results with “lighting”, “highlight”);
default value: word_match
location_name string full name of search location
optional field
if you use this field, you don’t need to specify location_code
if you don’t specify this field, the location_code with 2840 value will be used by default;
you can receive the list of available locations of the search engine with their location_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/llm_mentions/locations_and_languages
example:
United States
location_code integer search location code
optional field
if you use this field, you don’t need to specify location_name
you can receive the list of available locations of the search engine with their location_code by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/llm_mentions/locations_and_languages
example:
2840
default value: 2840
language_name string full name of search language
optional field
if you use this field, you don’t need to specify language_code;
if you don’t specify this field, the language_code with en value will be used by default;
you can receive the list of available languages of the search engine with their language_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/llm_mentions/locations_and_languages
language_code string search language code
optional field
if you use this field, you don’t need to specify language_name;
you can receive the list of available languages of the search engine with their language_code by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/llm_mentions/locations_and_languages
default value: en
platform string target platform
optional field
possible values:
chat_gpt, google
default value: google
filters array array of results filtering parameters
optional field
you can add several filters at once (8 filters maximum)
you should set a logical operator and, or between the conditions
the following operators are supported:
=, <>, in, not_in, like, not_like, ilike, not_ilike, match, not_match
you can use the % operator with like and not_like to match any string of zero or more characters
example:
["ai_search_volume",">","1000"]

The full list of possible filters is available here.

order_by array results sorting rules
optional field
you can use the same values as in the filters array to sort the results
possible sorting types:
asc – results will be sorted in the ascending order
desc – results will be sorted in the descending order
you should use a comma to set up a sorting type
example:
["ai_search_volume,desc"]
note that you can set no more than three sorting rules in a single request
you should use a comma to separate several sorting rules
offset integer offset in the results array of the returned mentions data
optional field

default value: 0
if you specify the 10 value, the first ten mentions objects in the results array will be omitted and the data will be provided for the successive objects;
Note: the maximum value is 20,000, use the search_after_token if you would like to offset more results

search_after_token string token for subsequent requests
optional field
provided in the identical filed of the response to each request;
use this parameter to avoid timeouts while trying to obtain over 20,000 results in a single request;
by specifying the unique search_after_token value from the response array, you will get the subsequent results of the initial task;
search_after_token values are unique for each subsequent task ;
Note: if the search_after_token is specified in the request, all other parameters should be identical to the previous request
limit integer the maximum number of returned objacts
optional field

default value: 100
maximum value: 1000

tag string user-defined task identifier
optional field
the character limit is 255
you can use this parameter to identify the task and match it with the result
you will find the specified tag value in the data object of the response


‌‌As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information specific to the set tasks.

Description of the fields in the results array:

Field name Type Description
version string the current version of the API
status_code integer general status code
you can find the full list of the response codes here
Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_message string general informational message
you can find the full list of general informational messages here
time string execution time, seconds
cost float total tasks cost, USD
tasks_count integer the number of tasks in the tasks array
tasks_error integer the number of tasks in the tasks array returned with an error
tasks array array of tasks
        id string task identifier
unique task identifier in our system in the UUID format
        status_code integer status code of the task
generated by DataForSEO; can be within the following range: 10000-60000
you can find the full list of the response codes here
        status_message string informational message of the task
you can find the full list of general informational messages here
        time string execution time, seconds
        cost float cost of the task, USD
        result_count integer number of elements in the result array
        path array URL path
        data object contains the same parameters that you specified in the POST request
        result array array of results
            total_count integer total amount of results relevant the request
            current_offset integer the number of mentions objects that are omitted in the items array
            search_after_token string token for subsequent requests
by specifying the unique search_after_token when setting a new task, you will get the subsequent results of the initial task;
search_after_token values are unique for each subsequent task
            items_count integer the number of results returned in the items array
            items array contains relevant mentions data
                platform string platform received in a POST array
                location_code integer location code in a POST array
                language_code string language code in a POST array
                question string relevant question
                answer string relevant answer in markdown format
content of the result formatted in the markdown markup language
                sources array array of sources
the sources the model cited or relied on in its final answer
                   snippet string source description
                   source_name string source name
                    thumbnail string source thumbnail
                    markdown string content of the element in markdown format
content of the result formatted in the markdown markup language
                    position integer position in the results
                    title string source title
                   domain string source domain
                   url string source URL
                    publication_date string date and time when the result was published
in the format: “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”
example:
2019-11-15 12:57:46 +00:00
                search_results array array of search results
all web search outputs the model retrieved when looking up information, including duplicates and unused entries
                   description string result description
                   breadcrumb string breadcrumb
                   position integer position in the results
                   title string result title
                   domain string result domain
                   url string result URL
                    publication_date string date and time when the result was published
in the format: “year-month-date:minutes:UTC_difference_hours:UTC_difference_minutes”
example:
2019-11-15 12:57:46 +00:00
                ai_search_volume integer current AI search volume rate of a keyword
learn more about this metric here
                ai_monthly_searches array monthly AI search volume rates
array of objects with AI search volume rates in a certain month of a year
                    year integer year
                    month integer month
                    ai_search_volume integer AI search volume rate in a certain month of a year
learn more about this metric here

‌‌