OnlyFans API
Banking

Get DAC7 Form Details

If available, returns the account owner's DAC7 form information required for tax reporting, including personal details, address, tax identification, country information, and DAC7 status.

GET
/api/{account}/banking/details/dac7-form
AuthorizationBearer <token>

You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.

In: header

Path Parameters

accountstring

The Account ID

Response Body

curl -X GET "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/dac7-form"
fetch("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/dac7-form")
package main

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

func main() {
  url := "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/dac7-form"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/dac7-form"

response = requests.request("GET", url)

print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;

HttpClient client = HttpClient.newBuilder()
  .connectTimeout(Duration.ofSeconds(10))
  .build();

HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
  .uri(URI.create("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/dac7-form"))
  .GET()
  .build();

try {
  HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
  System.out.println("Status code: " + response.statusCode());
  System.out.println("Response body: " + response.body());
} catch (Exception e) {
  e.printStackTrace();
}
using System;
using System.Net.Http;
using System.Text;

var client = new HttpClient();
var response = await client.GetAsync("https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/banking/details/dac7-form");
var responseBody = await response.Content.ReadAsStringAsync();
{
  "data": {
    "status": "success",
    "type": "personal",
    "firstName": "FIRST NAME",
    "lastName": "LAST NAME",
    "address": "123 Address",
    "city": "City",
    "state": "State",
    "zip": "1234",
    "countryId": 123,
    "taxId": "1234",
    "issuingCountryId": 123,
    "vatNumber": "123",
    "DOB": "2000-01-01",
    "cityOfBirth": "CityOfBirth",
    "countryOfBirthId": 123,
    "countryOfResidenceId": 123
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999999,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 10000000,
      "limit_day": 50000,
      "remaining_minute": 9999996,
      "remaining_day": 49947
    }
  }
}