---
title: Extract URLs
slug: extract-urls
docTags: 
createdAt: 2021-07-26T08:55:33.000Z
---

Extracts a list of unique URLs from a given text



### API Definition

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://orca.pathfix.com/functions/text/extracturls",
  "name": "Extract URLs API",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "truvmckQ9sjysDSYvvJ9Q",
        "code": "{\n\t\"output\": [{\n\t\t\t\"email\": \"acme.com\"\n\t\t},\n\t\t{\n\t\t\t\"email\": \"diddlydoo.com\"\n\t\t}\n\t]\n}",
        "language": "200"
      },
      {
        "id": "Tqpulkbh9wENhf71qKaFl",
        "code": "{\n    \"message\": \"error\"\n}",
        "language": "404"
      }
    ],
    "selectedLanguageId": "truvmckQ9sjysDSYvvJ9Q"
  },
  "examples": {
    "languages": [
      {
        "id": "-Q3NEXUoT5feAko3F_HRi",
        "code": "{\r\n\t\"input\": \"Have completed scraping of acme.com and diddlydoo.com\"\r\n}",
        "language": "json"
      }
    ],
    "selectedLanguageId": "-Q3NEXUoT5feAko3F_HRi"
  },
  "description": "Call the following API to extract all URLs from a given input",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  }
}
```
:::




### Remarks

Easily setup URL extraction from any response received









