SERP API
Quickstart
curl --location 'https://keywordresearch.api.kwrds.ai/serp' \--header 'X-API-KEY: YOUR_API_KEY_GOES_HERE' \--header 'Content-Type: application/json' \--data '{"search_question": "beach","search_country": "en-US","volume": 1200000}'
To increase your API limits, please choose your plan right from our pricing page.
Endpoint Information
This guide provides detailed information on how to use the SERP (Search Engine Results Pages) endpoint of the kwrds.ai API. This endpoint returns search results for a given query, along with related queries that people also search for.
POST /serp
URL
https://keywordresearch.api.kwrds.ai/serp
Request Headers
X-API-KEY
: Your API key for authentication.
Request Body
search_question
: The main search query.search_country
: (Required) The country code (e.g.,en-US
) for which the search should be localized. The first part is the ISO 639-1 language code, and the second part is the ISO 3166-1 alpha-2 country code. Passen-worldwide
to get the global search volume. Default isen-US
.volume
: (optional) The estimated monthly traffic of the webpage. If not provided, the estimated traffic returned will be 0.
Request Body Example
This is an example JSON request that you might use with our API:
Example Response
The response includes two main sections: serp
for the search results and pasf
for "People Also Search For" related queries.
{"pasf": ["Beach near me","Beach photos","Beach girl","Beach pronunciation","Beach drawing","Beach sunset","Beach cartoon","Beach wallpaper"],"serp": [{"est_monthly_traffic": 434041,"favicon": "data:image/webp;base64,UklGRs4BAABXRUJQVlA4IMIBAABwCgCdASo4ADgAPjEOjEYiEREJgCADBLSACKT/T/yO4gjFb5n+Of5GQRr+q+bhqLfPE7APaJ9H+wV0nlGkx79FyYOXb9MiloJ+c/glFuMlok5rYLwgqxGTH6EsAAD+/z1c4XUPGaPTGG3/Wz/ofu3+VKPxnwf1/7u2/vs9e+cNfNsK+AxKRr/kIIXuTBgipc73FVpUplarc85kTHzu1gal1ZXpBnCyb/waIll0IzuxSP+/+ZrCcg+eBpt5Qt4kOZ+bn4om/yraCJxJPAQP/fydpdc5NXmKWfzRMd/9rPLrGdQcFkGUNoJVuXa6z/AAujJK5Ck/gYk+bWzs0gNZ3obH3/rkUqrhMcbJIl2rS6uIJhanglv/fdX+8jJ8x9kWISV3uDQyHwmiQdD+dQz8hnbo3xZKr4HA91+MPnWcdHYi5bdTugdC8A6hUdrr6MwRgO4TkmyGr4hvG8B9xJ8Ow3/5zXGlM75tW6OhkS/sd63PbUt90H7a8ni9Z+KmXu/PyyRV6TAyjSZo1dFOmJF+lJFEw9PgzI4XNL2HcEaSKIBb7Kwv+r2PF83/c9qEfluVnMMIzkLwBEoYRw4AAB55skgAAAA=","title": "Beach","url": "https://en.wikipedia.org/wiki/Beach"},{"est_monthly_traffic": 177601,"favicon": "data:image/webp;base64,UklGRooFAABXRUJQVlA4IH4FAACwGwCdASo4ADgAPjEMjEYiERELACADBLYAXZm2povd/Nyr/9e/CvLlm2zZvn5/d/UBtgPMB+y3Ua9AD+5f5nrAPQA/Zn0xv3F+Df9v/9D/h/bAucHQBd7PaTJ0fWvyW9O+8H3E/rnkc/sfy5cYTyP+a/4D8uOYDvM/yX/AfmVzMNAD8yf8n7gPpP/n/+15VvpH/l+4N/Kf6l/p/zL7wn7aeySrc5xFPs7xK+gUirIC+RR4lDuXRXztvpWCUCF2d1oiaKUbaPybyuymgqntSqP17opG4JFou4liJPB3NtgCH1bcWRauMAD+//6UKTZu2NLRvF+hcETRDMN4e6iwCP0UAL4XhVmdKA/qKg+GSDDooMZq0QHsUtkLzZX/an09UwPGF1Pm84AJrGScaFnK/8oE8tzNie4yMFAvatzW56KgJfJ2gOhOatlk349suv9MM+zRtMp8HvAZeOxjuOWKf+4OW1PXSZRgOHK1H5NagiF+5Pz/PmDwcmQuKhX6X1vf/xt+w9eE+lrFd1+4wh/Dn9WnCKcS1/f+LD+/u/q/o3Uqww9ppbWUKUqp9wzy07ymm8sIQZfW68k1fkvomfn+ewT7vzrxaRvIk7zRIAhPNNLhMvxQQ6quvqsuEJOyX1dPNhp2BvjMigEzILKYxVdK552aW74QeAGRy2QfXg3iJXV5qGm5qqa/MrgP+SRIhKP8+zGAMmF+zGU5B6IJ+FGFagoeRmIaCCdRFD/Vs0VYs280NsBAdYGGpoGl8xIa4lI+/Icr/xEfx78LE/5zHe1ztY3OC3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A==","title": "Beach Definition & Meaning","url": "https://www.merriam-webster.com/dictionary/beach"},{"est_monthly_traffic": 83401,"favicon": "data:image/webp;base64,UklGRt4HAABXRUJQVlA4WAoAAAAQAAAAPwAAPwAAQUxQSPsBAAARkERb27Et1+8/27ZtN7Kb2rZt27ZrZNu2bbs+6w7v/7z389xpGBETgP+KGep0GT1hRKeKKSN4wlOUat5v9KgBrYomi2CJrb7ptZcoFPK+vTCtCEfmVnuefHF6v7m+PdzZKX2YvarHSPnTwux2kva+GiTVB52T24g/jeyGrjdSy78jQDYdu8oo5bxIjMEZSRUaPiTG120VSj8h1tDG5GEWEV0dxOoZFGaV+yVx705vMdhHzKHeEb8kOUn8S6MAtPEQ++fav4wnnV0jIku/JI1XUgBZHVq+NC+/k7T2AKaS3gd7Se/1TOmeaCKXJmrVkIQvnS3t3GFp715Lc/ileR3S/M+kec5Le7lT2pGJ0ibUE+asl90r62H2sPOylgK9RAWqA1lcks7FAmFzBflbAUDub3IupP4F4+Q0g2Wqq1J2RlmhokPGs2KIe7gId3uoLpOwPEIpdpV5R9NAPXqmx7BTeWB7VMCobZnB2O6zOaHVacFa7YUprrHxwFz4mhmf+4eDPdVxE543hs5U6/TdqgK94fN0nSoM7X38WjZnhYEtnBoWxcLIyve5AoPjw9CCp0Msn5vD3Ax7ggyPaocbhKTLArYuFIbZMWO/2TiQG8Z3/6oSXJMCAms8jcs9MSlE5rtq9bEjpGbc9suLBpCbYAPR/QqQnLDvxOz4zwkAVlA4ILwFAAAwGwCdASpAAEAAPjEOjEYiEREKACADBLYATpygqR8sflv4b/lH8glM/qP3q/dLLgOTf8N90Xvr9QH2m+4B+lv90/LntAfsZ6gP2N/bv0gPcB6AH8o/svWMegB5UX7R/A3+zP7UfAT/Mf8d1AFrf+VfZj9u9AV9gPu35R6Kj+/Y9S1BTNvpA9sv097Av6yf8TsLegB+wCWtE7uRXs1Jtx6xn/1KNJdW6DWV+3Nud7L/P1oTQEmFkDkNAECv4Uai2PT5krtZUAeDv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8L9wymHq87oygItG8vlegRnAWCVw40hryl/jD09MyRPeOi5+GQaPlR4t718nPYOVJZHymlw6+9PAgbSpHVMNa0u/kblEcIds6n7BuuRTmwMyIOzXm/N8c3E8YJU0myItq/3ujU3RVjklQmTvd0MOzSNU3wYk1HfL0nPzXJSPRtUbLqXezhL62P+wMpviFQhm4oDeZx3fvvrz9Va8HXMV2EIG4EVsA6ErcdHSR7oagE/bjhZOsPvF/T+NVonM32D3gTlAArTE5KhhY6SHTV4uqI89wXFItqVONaFKdCDWqvRhfAyYvAmC2JRTzKF3pJ5LDEOw/JpIbR33R2sdNMzekcDRYomJHM7WyMDHfayLMYXgaAGT97K78vbnTcQeOYFvSN/DpqAv0Cb6ZaUKQpIzTsBK/rrl9wwmppg4YQMlXY2OfrtMqrE/O1tyLl1wqvux/eeh6T3XrGfvkhRa3kqv++D0hPNWYGGxGj+xX4wnL/zn/A+gaTBVFJygZvngQASR9P+GdmtdIXmCSVDxRfZrxSt8WOo3EHmv/S9JwdUz1UIU5DwH+T6ZxxgGhq49TnH3AgDW5u7GkfStcn5Tr/4AW//8rUYulocN4hwIAAAA","title": "Visit Myrtle Beach: Welcome to Myrtle Beach, South Carolina","url": "https://www.visitmyrtlebeach.com/"},{"est_monthly_traffic": 54720,"favicon": "data:image/webp;base64,UklGRsoEAABXRUJQVlA4WAoAAAAQAAAAPwAAPwAAQUxQSHIEAAARBvrP/iluo1nVIRdsuRRQmQLHzMzMzMzMfIl8BadKyWVmZmauzzqV60IYlZLjsndlzfeH+e54PfcPfCciJoDse6yNcekEWXQqNPS2LKbsLefBycSJVXerYhQDESdCOAp4saGGJ4SAPQfJoWrc3wIpDCgxkqeCXlMg/aMZI2nwmJHBUho4uCwQHD5yVHDCsmYL0z1SR2Sw5F1ZRXMshP5UwWH3cBOJtP2/UMedyIVrVLly3NbdociGOyXoTcR8R5H0DSBaj2AGI+obExI/KZLPkXBHmdwmwfpdkd9B5P2ZbEFUMH9So81u5FSB1HMJIf6ZGtecQOY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vtuP5lI4Nj9NBxs+rAdhlT8S9IYX17FdruT0H0Fqbic+B8/VNMRddC58JXMiV7NcpxsjHLv2aKfmuCeTFOWhNpTZq0RbopPO6FTixZVlA4IDIAAABQAwCdASpAAEAAPjEQjEYiEREIgCADBLSAAAgphV94ah6eAAD+/nyUA6a4D55Ntq4AAA==","title": "The Official Website of The Beach Boys","url": "https://thebeachboys.com/"},{"est_monthly_traffic": 40561,"favicon": "data:image/webp;base64,UklGRigDAABXRUJQVlA4WAoAAAAQAAAANwAANwAAQUxQSIQBAAARkGtr27FHX/DbbXi2qTJ4/Y7tcqrpYyf92LY/FM+b9eA/gYiYgOxYXVVVVVb8Sxn6DJB4DqelBJyX4nFGisOdAD+vnz51Spm0NcZobYy11hm7/IDl3cx0Rr/4D1iij62McfSN6BR43+DofgYGdxq8q3FMfuJ4Ps1R+wg0ToEPTY7OZyINPjU42l+Awlnwc8DR/Q400W+W9ldgcAb863N0PhM58H/A0aby4E+Ho/eDKICC5ztHydKl8qBqsfwiinydn0CPjcWdSTRY/hJFUNY52gmHCyCvcdT/EEVQsNR+stQ5GjmwOC/F4QL4X+OoV9AS5Sy1hMJ58HeaYzqhcRH8E6CI/rJMJTzRv0mOyYTBBZBPcGQJj4ugyPgCzoH/AjzOgkKAwTmQC3BElQCPC1LO4ryUMzg3Nl7KPdxZKVdwF6Rcxp2Tchd3XspVXJRyg+rh/tHR4frK1tbuwe7e0cH+zsbaxsb6ztOXb3b+JG7iziQE3sVFKbdxl8bmvpRPuBtS7hwHVlA4IH4BAABwCgCdASo4ADgAPikKikUhkNDO+BgChLUAYG0AvwDrGu29N/G7htXTp6yX6AdMBwAH7AdZT+2vqAf3EF3rk224phK1Y4qCYGhWu1Z7+nHhPtF/D6Zg1R9kMreTgAD+9onf+7HrGfvqzIib19bzTQoaqWgdV/QvvmnJ9maKVfAuv7BX/3kx6Br23pdaN/fQA81L3j5dNsRd/9iP4nvB6GbnJ0cb6sWzcnspltuXJmUj1iJBcwRqIb/MjMu+roCu//1swB29Py/nnnk7vLR1cL9KP/28x59RVq/P/1N/Lyfs9bf7jO5N/OVH/moa6H2pSQU9Y11se4ZF6qKM9PT62khLFwiViCrl7AXMoYbNr7SQTYYcXicZseT84k4FJeB5APCfHb1CQ1IuMyesRkYG+vcEqn/fNOpq5wa6otwZ/hKTr2LQ6za+3yB+Y2Q+xdcwwzRvs2dkzq0snfNXpipQATgOl2sEht8N888tfnZu1MRo8H/id1U7j3MWAeOHdHgA","title": "Beach","url": "https://www.nationalgeographic.org/encyclopedia/beach/"},{"est_monthly_traffic": 27120,"favicon": "data:image/webp;base64,UklGRuABAABXRUJQVlA4INQBAABwCgCdASo4ADgAPjEMjEYiERELACADBKAMa1ADVse4cZB0l51XRVdQB6AHlSeyx5QCJOY/ZDGtwouAZKXrydLMkGca0fWxLPUvNtkYb3UxM6PeVN21qA0CR63dAAD+3kJQJyQusMgn/Kfv+U/f8p+/yg6eT/4IHARya7PS3ol0mUJTLDGAW9w0AR0z3f/Z6iuIp4/qZllnSyoYu3DYvSOhcmT1pI+XKxHPWbGOJzTZO1TkZJyqqdwAX1I5sVfTQ5H4//mjsLiyJzBtzX322f/HX+saVwQV/Bei1fVf8HdHinp3/5ohvF0eaM54cZsYOFQBKpb0jIKxHXXrElp5WpBLf8HXhpYPzFuTaouF5mdGubq/oL2MpN1br8K0B+MUcrxfaiN1LMlDdEshB5CTFmmsuDU4d/0UBXX6x0CKxbYd9MA2UfPnCo/10utIS2nWih4v9aiKACvtIb2T3DDF/8aRnT9ILwLIArF3UyDwt+aB2paM61BJYyNlPmohPTOpwtdvEfRkIZguHAjxSXrQRvprk4bTdoB/7r/a/T+1g5OP5nmT66/iW2P1HLo3k+oqJuxylwSmhYGnDWec9ifoTeMyrW00aO6qLclbQdXeHDNL9yCwAAA=","title": "70000+ Best Beach Pictures · 100% Free Download","url": "https://www.pexels.com/search/beach/"},{"est_monthly_traffic": 21121,"favicon": "data:image/webp;base64,UklGRgwMAABXRUJQVlA4WAoAAA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YG2og6ubWkTio633WGRv+c9vXd9Xwvmj1gzRnGuEPycN836bwVOLUhWBtfGXpj2zo5riEK+ZCLda8EMQz+eM8WvwM/sFTH2KgcRQsYd4BsPiI1mxvexYfDCXVN7S4oO/un/cy6ir83CHPdlIo5XPhX7e05NwEoc0+2hvqTU5nBP+cbA40VMLUhVYWQzOBBFZiSPjsBpTTLcyANj5BJ47o6EpbarF5IfUU36201Ot1d6bYOnf8gvSHhKIwQjdP/q9cVEcQLg1J//LvqNPa/eITO+DC4x4R0qvDCWYv//dGfnsF5V6wn/nf/Fltrz390DCNfjcZoh/6ntcgtvaroTXxERY3XuNOgR2f9CP3ynJJj1uV+Rracl0est9aaEJm/ciTHeMIA8cvBawr9RoTdGTTdYoaAPQTGmpbHCW335FMqdFq+iJKQO58EJyONof4/JtSRVZtK7i1jGkf09bm7Y2QuD6cxStBkpRzmKVMVE5tQIsRqZ27cBqm9Vc3+eCLI/gRSZ1PoUCgw35XIVcK0EbmNWD+X8EW9k5hQ8q94MZLVD3XHbNcJcookFGlevEQ3ZyzSNVrNbNy129C9AUBZwvk/bsF2n4ls//HStwBar0NZhZR5j+Nbw2ajdIfx6ww8MStXM4vb3cBg6wIloNEkBd/0Ru8CvEFOvDEgBn5e2FDXTiFxc81CcdvigEa0XPcKiv5UcIZqdMe9fAFedZZLDMg/+EowsPECGHzfk52bLpuDBdaMzGxdGn3sq6iI5/1NahjxmuPbXfssUjwwd8B4RU0R3fjLa5WALZOgk8tDarpsqzFS1XTLr/fAtXh+PUqVhZfovVZiYwXrZ7UBcE0EUUZxPdJ9H8vAAA=","title": "Texas Gulf Coast Beaches","url": "https://www.portaransas.org/beach/"},{"est_monthly_traffic": 17401,"favicon": "data:image/webp;base64,UklGRoIDAABXRUJQVlA4WAoAAAAQAAAAPwAAPwAAQUxQSMgCAAARoERr2yFJehvlqrZt23a2bdu2bdu2bds9ttm2O/JEnP9dRMQff/y5mllFxATgf4PR++hRON4OaFOXql+W12Qe1b/MpUOhX+nnQ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ach | South Carolina Parks Official Site","url": "https://southcarolinaparks.com/huntington-beach"}]}
Response Structure
- pasf: An array of strings representing the queries that "people also search for" information related to the main query.
- serp: An array of objects representing the search results.
- favicon: A Base64 encoded string representing the favicon of the website.
- title: The title of the webpage.
- url: The URL of the webpage.
- est_monthly_traffic: The estimated monthly traffic of the webpage. This number is based on the SEO CTR benchmarks.
Parsing the Response
In the response, you'll receive two main data structures: serp
and pasf
.
- serp: This is an array of objects where each object contains information about a search result, including the favicon (in Base64), title, and URL of the webpage.
- pasf: This is an array of strings that represent related queries or topics that people often search for in addition to the main query.
You can use this data to present search results along with related suggestions on your platform.
Error Handling
The Keyword Research API returns standard HTTP status codes:
- 200 OK: The request was successful, and the data is returned in the response.
- 400 Bad Request: The request was invalid or malformed. Check your request body and parameters.
- 401 Unauthorized: The API key is missing or invalid. Ensure that your
X-API-KEY
header is correct. - 5XX Internal Server Error: An error occurred on the server. Retry the request or contact support if the issue persists.
Common Use Cases
Here are some common scenarios where you might use the SERP API:
- Displaying Search Results: Use the
serp
data to display a list of search results on your website or application. - Suggesting Related Searches: Leverage the
pasf
data to suggest related searches to your users, helping them refine their queries or explore related topics. - SEO Analysis: Utilize the search results and related queries to perform SEO analysis, understanding what content ranks for specific keywords and what related topics users are interested in.
Next Steps
The SERP API provides a powerful way to access search engine results and related queries, enabling you to enhance your platform with relevant content and suggestions. Make sure to handle responses and errors appropriately to deliver a smooth user experience.
For further questions or support, please contact hello@kwrds.ai.