API: Web page structure
Public
by edwin
, forked from Web Page Summarizer
I am going to give you the HTML of a webpage, you are going to provide the structured data from the website to me in structured format
Input:
{ "htmlPage": "<!DOCTYPE html>\n<html>\n<head>\n <title>My Table</title>\n</head>\n<body>\n\n<h1>My Data Table</h1>\n\n<table>\n <tr>\n <th>Name</th>\n <th>Age</th>\n <th>Job</th>\n </tr>\n <tr>\n <td>John</td>\n <td>35</td>\n <td>Programmer</td>\n </tr>\n <tr>\n <td>Sarah</td>\n <td>28</td>\n <td>Teacher</td>\n </tr>\n <tr>\n <td>Mike</td>\n <td>42</td>\n <td>Manager</td>\n </tr>\n</table>\n\n</body>\n</html>" }
Output:
{ "structure": "{\"tableData\": [{\"name\": \"John\",\"age\": \"35\",\"job\": \"Programmer\"},{\"name\": \"Sarah\",\"age\": \"28\",\"job\": \"Teacher\"},{\"name\": \"Mike\",\"age\": \"42\",\"job\": \"Manager\"}]}" }
Public API Key 💡
This key is public and may be rate-limited. Please sign up for an account to get your own key.
API Console
Response