---
title: Lists Business Software Listings (BSLs)
slug: lists-business-software-listings-bsls
docTags: 
createdAt: 2025-10-10T21:08:35.627Z
---

{
  "id": "6wImMZaYbzWyQQoFY4eld",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://sourceforge.net/rest/p/sfapi/v1/bsls",
    "servers": [
      {
        "url": "https://sourceforge.net/rest/p/sfapi/v1/bsls"
      }
    ],
    "name": "Lists Business Software Listings (BSLs)",
    "description": "Lists the BSLs and their IDs for the current user. These IDs can be used as parameters to query information from the Buyer Intent Segments and Buyer Intent Activity endpoints.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "bearerAuth",
          "name": "bearerAuth",
          "kind": "optional",
          "type": "http",
          "scheme": "bearer"
        }
      ]
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Success",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "data",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "bsl_id",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "description": "",
                    "example": 1102
                  },
                  {
                    "name": "shortname",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "freshdesk.s"
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Freshdesk"
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "Unauthorized",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "message",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "Permission denied"
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "message",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "BSLs not found"
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "429",
        "description": "Too Many Requests",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "message",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "Rate limit exceeded"
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "f7nX8PgHhZmu8Mphn_82N",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://sourceforge.net/rest/p/sfapi/v1/bsls \\\n     --header 'accept: application/json'"
        },
        {
          "id": "GHKw9OA3CEKxT-n5iBZT6",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://sourceforge.net/rest/p/sfapi/v1/bsls\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "eMx6IDm6j3AFDVaBefNxK",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sourceforge.net/rest/p/sfapi/v1/bsls\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "yn6Uk5YRlkI5o_LMGIVnS",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://sourceforge.net/rest/p/sfapi/v1/bsls\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "f7nX8PgHhZmu8Mphn_82N"
    },
    "results": {
      "languages": [
        {
          "id": "LI6HfvmAUAw8U54-7BVUw",
          "language": "200",
          "code": "// Success\n{\n  \"data\": [\n    {\n      \"bsl_id\": 1102,\n      \"shortname\": \"freshdesk.s\",\n      \"name\": \"Freshdesk\"\n    }\n  ]\n}"
        },
        {
          "id": "566ROjzwAZK5bLqemJWKV",
          "language": "401",
          "code": "// Unauthorized\n{\n  \"message\": \"Permission denied\"\n}"
        },
        {
          "id": "uB7PvJRxZi0KIksY2PsY4",
          "language": "404",
          "code": "// Not Found\n{\n  \"message\": \"BSLs not found\"\n}"
        },
        {
          "id": "8LygRcknV4przqr6k0c99",
          "language": "429",
          "code": "// Too Many Requests\n{\n  \"message\": \"Rate limit exceeded\"\n}"
        }
      ],
      "selectedLanguageId": "LI6HfvmAUAw8U54-7BVUw"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}