Do you have any questions? Write us an email or ask us through the feedback section.
This API is currently in a beta version! Send us some feedback and help us improve.

Examples

Here is an example of extracting the structure of a document using the MeaningCloud:

Analyze the structure of the document detected from an English online article

In this example we are going to analyze the structure from an online document (URL), for instance this article.

  • Use the txt parameter to submit the text.
  • Include your MeaningCloud license key as value for key parameter
Example using curl:
curl 'http://api.meaningcloud.com/documentstructure-1.0' \
    --form 'key=YOUR API KEY' \
    --form 'url=https://en.wikipedia.org/wiki/Margaret_Hamilton_(software_engineer)'
MeaningCloud API output:
{
    "status": {
        "code": "0",
        "msg": "OK",
        "credits": "8"
    },
    "title": "Margaret Hamilton (scientist) - Wikipedia",
    "abstract_list": [],
    "heading_list": [
        "Margaret Hamilton (scientist)",
        "Contents",
        "Early life[edit]",
        "SAGE Project[edit]",
        "NASA[edit]",
        "Businesses[edit]",
        "Legacy[edit]",
        "Personal life[edit]",
        "Publications[edit]",
        "See also[edit]",
        "References[edit]",
        "External links[edit]",
        "Navigation menu",
        "Apollo 11[edit]",
        "Awards[edit]",
        "Personal tools",
        "Namespaces",
        "Variants",
        "Views",
        "More",
        "Search",
        "Navigation",
        "Interaction",
        "Tools",
        "Print/export",
        "In other projects",
        "Languages"
    ],
    "emails_info": {
        "from": "",
        "to": [],
        "cc": [],
        "subject": ""
    }
}