> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.algorhythm.app/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.algorhythm.app/_mcp/server.

# Get a source

GET https://api.algorhythm.app/v1/sources/{source_id}

Fetch a single source with full crawler, creator, trend, and audience result blobs.

Reference: https://docs.algorhythm.app/api-reference/sources/get-source-v-1-sources-source-id-get

## Authentication

- `X-API-Key` header (required) — API Key authentication via header

## Request

### Path parameters

- `source_id` (string, required)

## Response

### 200

Successful Response

- `id` (string, required)
- `team_id` (string, required)
- `source_type` (string, required)
- `source_id` (string, required)
- `created_at` (datetime, required)
- `title` (string, optional, nullable)
- `status` (string, optional, nullable)
- `crawler_results` (map from string to any, optional)
- `creator_results` (map from string to any, optional)
- `trend_results` (map from string to any, optional)
- `audience_results` (map from string to any, optional)

## Errors

### 404 Not Found Error

Source not found, or not indexed by your team.

- `any`

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (ValidationErrorCtx, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Response**

```json
{
  "id": "src_9f8b7c6d5e4a3b2c1d0e",
  "team_id": "team_12345abcde",
  "source_type": "sound",
  "source_id": "7255433468434549509",
  "created_at": "2023-06-01T08:00:00Z",
  "title": "I miss u.",
  "status": "complete",
  "crawler_results": {
    "last_crawled": "2024-06-01T12:00:00Z",
    "items_crawled": 1500,
    "errors": 3,
    "crawler_version": "v2.4.1"
  },
  "creator_results": {
    "top_creators": [
      {
        "id": "creator_001",
        "name": "Jane Doe",
        "followers": 120000,
        "engagement_rate": 4.5
      },
      {
        "id": "creator_002",
        "name": "John Smith",
        "followers": 95000,
        "engagement_rate": 3.8
      }
    ],
    "total_creators": 250
  },
  "trend_results": {
    "current_trends": [
      "AI advancements",
      "Sustainable tech",
      "Remote work tools"
    ],
    "trend_score": 87
  },
  "audience_results": {
    "demographics": {
      "age_groups": {
        "18-24": 35,
        "25-34": 40,
        "35-44": 15,
        "45-54": 7,
        "55+": 3
      },
      "locations": {
        "USA": 50,
        "Canada": 15,
        "UK": 10,
        "Germany": 8,
        "Others": 17
      }
    },
    "total_audience": 500000
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.algorhythm.app/v1/sources/7255433468434549509"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.algorhythm.app/v1/sources/7255433468434549509';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.algorhythm.app/v1/sources/7255433468434549509"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.algorhythm.app/v1/sources/7255433468434549509")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.algorhythm.app/v1/sources/7255433468434549509")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.algorhythm.app/v1/sources/7255433468434549509', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.algorhythm.app/v1/sources/7255433468434549509");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.algorhythm.app/v1/sources/7255433468434549509")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```