<p>You can download your file using this API</p>

<p>localhost:7876/nxt?requestType=downloadTaggedData&amp;transaction=nnnn&amp;retrieve=true</p>

<p>where nnnn = Txid of your uploaded file</p>

<p>You can search txid for all your uploads using requestType=getAccountTaggedData&amp;account=NXT-XXXX-XXXX-XXXX-XXXXX</p>

<p>where NXT-XXXX-XXXX-XXXX-XXXXX is your account number</p>

<p>If your localhost is not hosting prunable data, retrieve from a public node which is a Service Provider (with PE &amp; AI listed under Services) in your peer's list.</p>

<p><a href="https://i.sstatic.net/OJpR4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/OJpR4.png" alt="enter image description here"></a></p>

<p>Examples:</p>

<p>Retrieve all Txids of all uploads for account NXT-TBAJ-LVLX-YCWY-5FRLD
23.94.134.161:7876/nxt?requestType=getAccountTaggedData&amp;account=NXT-TBAJ-LVLX-YCWY-5FRLD</p>

<p>Download PGP key of Core Dev
<a href="http://23.94.134.161:7876/nxt?requestType=downloadTaggedData&amp;transaction=633908232195174623&amp;retrieve=true" rel="nofollow noreferrer">http://23.94.134.161:7876/nxt?requestType=downloadTaggedData&amp;transaction=633908232195174623&amp;retrieve=true</a></p>

<p>Full set of API for Nxt Data Cloud can be found at
localhost:7876/test?requestTag=DATA</p>

CC BY-SA 3.0
2016-01-26T21:29:40.693Z
2016-01-26T21:29:40.693Z
Nxter
<p>If I hosted a few files on the NXT's Decentralized Data Straoge Cloud, how can I access those files via an API? </p>

<nxt><nxt-data-cloud><nxt-api>
What is the api function call to access NXT's Data Cloud feature?
Patoshi パトシ
# What is the api function call to access NXT's Data Cloud feature?

(Asked by: username_0 on 2016-01-24)

If I hosted a few files on the NXT's Decentralized Data Straoge Cloud, how can I access those files via an API?

**Tags:** nxt, nxt-data-cloud, nxt-api


---

## 1 answers

### Answer by username_1 on 2016-01-26. Score: 2 | Accepted answer

You can download your file using this API

localhost:7876/nxt?requestType=downloadTaggedData&transaction=nnnn&retrieve=true

where nnnn = Txid of your uploaded file

You can search txid for all your uploads using requestType=getAccountTaggedData&account=NXT-XXXX-XXXX-XXXX-XXXXX

where NXT-XXXX-XXXX-XXXX-XXXXX is your account number

If your localhost is not hosting prunable data, retrieve from a public node which is a Service Provider (with PE & AI listed under Services) in your peer's list.

[![enter image description here](https://i.sstatic.net/OJpR4.png)](https://i.sstatic.net/OJpR4.png)

Examples:

Retrieve all Txids of all uploads for account NXT-TBAJ-LVLX-YCWY-5FRLD
23.94.134.161:7876/nxt?requestType=getAccountTaggedData&account=NXT-TBAJ-LVLX-YCWY-5FRLD

Download PGP key of Core Dev
<http://23.94.134.161:7876/nxt?requestType=downloadTaggedData&transaction=633908232195174623&retrieve=true>

Full set of API for Nxt Data Cloud can be found at
localhost:7876/test?requestTag=DATA


---

