Bitcoin Forum
April 23, 2024, 04:31:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Bitcoin Rest API Service  (Read 289 times)
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
December 16, 2020, 01:24:43 PM
Last edit: December 19, 2020, 12:59:30 AM by blocksdk
Merited by pawanjain (2)
 #1

Hi,
Are you looking for a way to access the cryptocurrency server without running it?
BLOCKSDK offers +6+ cryptocurrency APIs, including Bitcoin.
Start for free

We provide support for custom API development and 1:1 live chat development even if you are not a paid user.
We constantly monitor customer complaints and promptly correct them.

Youtube Video
https://www.youtube.com/watch?v=fyJDBcM8s2k

Website
https://blocksdk.com

Email
support@blocksdk.com

Telegram
@BlockSDK
https://t.me/BlockSDK

Code:
use BlockSDK;

$blockSDK = new BlockSDK("YOU_TOKEN");
$btcClient = $blockSDK->createBitcoin();

$wallet = $btcClient->createWallet([
    "name" => "test"
]);

var_dump($wallet);

The generated wallet key is
It is stored on the server using one-way encryption,
If you lose the key issued when creating your wallet, we have no way to recover it.
1713889895
Hero Member
*
Offline Offline

Posts: 1713889895

View Profile Personal Message (Offline)

Ignore
1713889895
Reply with quote  #2

1713889895
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713889895
Hero Member
*
Offline Offline

Posts: 1713889895

View Profile Personal Message (Offline)

Ignore
1713889895
Reply with quote  #2

1713889895
Report to moderator
1713889895
Hero Member
*
Offline Offline

Posts: 1713889895

View Profile Personal Message (Offline)

Ignore
1713889895
Reply with quote  #2

1713889895
Report to moderator
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6677


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 16, 2020, 02:53:52 PM
 #2

It's great that you are offering a free way to query address and transaction data without requiring a full node, but I have a suggestion for your pricing structure.

First, you can use Basic as your home-use or a kind of personal plan but for advanced developers, like some of the devops services I can think of (Github, Travis, et al have this kind of plan). You can make it affordable to those individuals like at $40/month with Basic'a quota limits.

Second you can merge Beta and Pro into a single business plan with Pro's pricing and limits but I also recommend significantly increasing the rate limit for this business plan. In general businesses have more cash to spend for buying things like this. You can even add live telephone support within business hours to make it more attractive to them.

Last you can replace Production with an enterprise plan with custom limits but enterprises need to contact you about their requirements. The advantage is you can charge them thousands of dollars a month for accommodating their possibly high requirements, way higher than the $500/month your biggest plan charges.

The pricing stuff is just my opinion based on what I've seen other companies do, you're also free to use your own kind of pricing.

Also I have a question about your createwallet APi calls. How much security is put in place to protect the private keys that are in the wallet (which I assume are created on your servers)? Since you are returning seed phrases, are you using Electrum as the backend?

Finally we've been discussing the last few days on how transaction, block and address data in a block explorer can be queried so much faster from a database than from a node, so would you mind telling us how you store all this data server-side?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
December 17, 2020, 03:33:29 AM
 #3

1.Price proposal
I think it's a good idea.
In order to acquire more customers, all BLOCKSDK members can receive 1:1 chat development support,
If you need a custom API, we will develop it further.

2.createwallet API (Wallet KEY)
Only the keys of one-way encryption values ​​are stored on the server, and no one can know the keys unless you are the wallet creator.
In other words, even if a hacker hacks the database, the key is not known.

3.Store transactions, blocks and addresses in the block explorer
MYSQL and our Bitcoin node server are synchronized in real time.
The execution speed of the SQL statement to fetch specific transaction information is 0.001 seconds
pawanjain
Hero Member
*****
Offline Offline

Activity: 2646
Merit: 713


Nothing lasts forever


View Profile
December 17, 2020, 06:37:02 AM
Last edit: May 16, 2023, 03:07:28 AM by pawanjain
 #4

Hello @blocksdk

There are some cosmetic issues on your website, you should first consider rectifying those issues at the earliest.
For example: The login page has a spelling mistake on the Login button.


 


The form on register page should have fields marked as mandatory and optional. Here I didn't enter the Company details but was still able to signup.

 


Though your service is good, developers hate it when a website has bugs/cosmetic issues.
You should consider hosting a contest for bugs/issues and you will get promotion for your site while getting to know all the bugs/issues.

I have signed up and got my API key. Will check how it works and post a review later.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
December 17, 2020, 07:05:49 AM
 #5

Company name, company address
Added something called Optional.

The syntax of the login button has also been modified.
thank
pawanjain
Hero Member
*****
Offline Offline

Activity: 2646
Merit: 713


Nothing lasts forever


View Profile
December 17, 2020, 04:34:12 PM
 #6

So I did try your API and my experience was not so good. After signing up I was logged in blocksdk and I was keeping on searching for API documentation for a while but didn't get it anywhere.
Later when I was logged of, I noticed that there was an API documentation. I wonder why you didn't consider placing a link to API documentation after logging in since that is what users would do.

Also, you should consider improvising your documentation.
For example : You said to call API using 2 methods but you didn't mention how to use them.
You should consider placing an example snippet/method on how to use the below 2 methods.

Quote
You can provide an API key to a REST API call in one of two ways
Preferred method: X-API-KEY via custom header
Convenient way: api_token via query string parameter

Lastly, I tried accessing your API but was getting '403 Forbidden' error. Not sure what's wrong.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
NotATether
Legendary
*
Offline Offline

Activity: 1582
Merit: 6677


bitcoincleanup.com / bitmixlist.org


View Profile WWW
December 17, 2020, 05:06:41 PM
 #7

Also, you should consider improvising your documentation.
For example : You said to call API using 2 methods but you didn't mention how to use them.
You should consider placing an example snippet/method on how to use the below 2 methods.

Quote
You can provide an API key to a REST API call in one of two ways
Preferred method: X-API-KEY via custom header
Convenient way: api_token via query string parameter

Lastly, I tried accessing your API but was getting '403 Forbidden' error. Not sure what's wrong.

The 403 error is probably coming from the absence of an API key in your request. You just fetch
Code:
https://FULL-URL-OF-API?api_token=abcdefg12345678
where you substitute my gibberish string with your API key. Basically the api_token parameter comes at the end of the URL.

The first method involves sending a header in your request. A header is a key/value pair that is sent to the server that gives it the same info as the "? =" parameters. All programming languages have a URL fetch function that can send arbitrary headers, and they are standard learning material in web development courses Smiley

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Joel_Jantsen
Legendary
*
Offline Offline

Activity: 1862
Merit: 1308

Get your game girl


View Profile
December 17, 2020, 09:54:22 PM
 #8

Also, you should consider improvising your documentation.
For example : You said to call API using 2 methods but you didn't mention how to use them.
You should consider placing an example snippet/method on how to use the below 2 methods.

Quote
You can provide an API key to a REST API call in one of two ways
Preferred method: X-API-KEY via custom header
Convenient way: api_token via query string parameter
That actually explains a lot. I mean what else is there to explain? If you are someone starting as a new developer, you'd find it confusing because your basics about calling API's or passing headers and such are not that clear. The problem lies in your capability but not in the docs I suppose.  They have good docs too https://github.com/Block-Chen/blocksdk-js

@OP: Good Service but I feel the free plans are very limited.
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
December 18, 2020, 04:51:01 AM
Last edit: December 18, 2020, 06:55:28 AM by blocksdk
 #9

1.After login, api document link has been added to the header bar.

2.The contents of the API document have been supplemented.


Quote
For example : You said to call API using 2 methods but you didn't mention how to use them.
You should consider placing an example snippet/method on how to use the below 2 methods.

Quote
Quote
You can provide an API key to a REST API call in one of two ways
Preferred method: X-API-KEY via custom header
Convenient way: api_token via query string parameter


Preferred method: X-API-KEY via custom header
Code:
curl -H "X-API-KEY: YOU_API_KEY" -H "Accept: application/json" -G https://api.blocksdk.com/v1/btc/block


Convenient way: api_token via query string parameter
Code:
curl  -H "Accept: application/json" -G https://api.blocksdk.com/v1/btc/block?api_token=YOU_TOKEN
pawanjain
Hero Member
*****
Offline Offline

Activity: 2646
Merit: 713


Nothing lasts forever


View Profile
December 18, 2020, 06:46:37 AM
Last edit: December 18, 2020, 07:39:50 AM by pawanjain
 #10

1.After login, api document link has been added to the header bar.

2.The contents of the API document have been supplemented.


Great Job there @blocksdk. I didn't expect you would make the changes that quick. Thumbs up to you.
I was finally able to use your API to receive data through my Python code.

Thanks for the updated Python snippet.

Code:
from BlockSDK.blocksdk import BlockSDK

This is what I was missing in my code. I used just 'import BlockSDK' instead of 'from BlockSDK.blocksdk import BlockSDK'.

My code is working now and I get the required output as below.

Code:
{'height': 661850, 'time': 1608273047, 'bestblockhash': '0000000000000000000e019c1f0f6532fbcd1e0c6f5226caba946ec734383692', 'prev_hash': '0000000000000000000908b539b25f7c713a990c71e23eef6560363bed7f9c06', 'unconfirmed_count': 121799, 'low_fee_per_kb': 0.0003, 'medium_fee_per_kb': 0.00049, 'high_fee_per_kb': 0.00099, 'HTTP_HEADER': {'Date': 'Fri, 18 Dec 2020 06:37:12 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Set-Cookie': '__cfduid=d1be9bc6df8a5a7ee9f2dadc119a44f121608273431; expires=Sun, 17-Jan-21 06:37:11 GMT; path=/; domain=.blocksdk.com; HttpOnly; SameSite=Lax; Secure', 'Cache-Control': 'no-cache, private', 'X-RateLimit-Limit': '180', 'X-RateLimit-Remaining': '179', 'CF-Cache-Status': 'DYNAMIC', 'cf-request-id': '07162a23c000001a6a69821000000001', 'Expect-CT': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'Report-To': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report?s=OHQAYiLWuN8Va0cj876WwPVPW3tmQJEKy67nqoNqSTmq7w7Ywpq2WF%2BIwmJHN%2FeT7H5eFXbV6479i05790PAR3PhjLVxaD5PrUoH3bhMh3uyX6xF9ei7%2B2hj6o0M"}],"group":"cf-nel","max_age":604800}', 'NEL': '{"report_to":"cf-nel","max_age":604800}', 'Server': 'cloudflare', 'CF-RAY': '6036dfb2cf461a6a-SIN', 'Content-Encoding': 'gzip', 'statusCode': 200}}


Also, you should consider improvising your documentation.
For example : You said to call API using 2 methods but you didn't mention how to use them.
You should consider placing an example snippet/method on how to use the below 2 methods.

Quote
You can provide an API key to a REST API call in one of two ways
Preferred method: X-API-KEY via custom header
Convenient way: api_token via query string parameter
That actually explains a lot. I mean what else is there to explain? If you are someone starting as a new developer, you'd find it confusing because your basics about calling API's or passing headers and such are not that clear. The problem lies in your capability but not in the docs I suppose.

Isn't that's how it should be? Yes I am a beginner developer. The documentation should always be beginner friendly as it is now after the updates so that people like me could find it easy to start with.
Else the developers could create their own custom API and never use services like these at all.



P.S : I was able to create a custom header and fetch data through blocksdk API too.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
December 18, 2020, 06:57:08 AM
 #11

Quote
Great Job there @blocksdk. I didn't expect you would make the changes that quick. Thumbs up to you.
I was finally able to use your API to receive data through my Python code.

Thanks for the updated Python snippet.
@pawanjain
We are always ready to meet the needs of our customers.
Thanks!
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
December 19, 2020, 12:51:36 AM
 #12

Quote
@OP: Good Service but I feel the free plans are very limited.

Why do you think the usage of the free plan is limited?
If you use the actual free plan personally, there is no case that it exceeds 2,000 times a day.
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
January 15, 2021, 01:00:23 PM
 #13

Hello, everyone.

Developing BLOCKDK use case list page.

We pay 6,000 dollars BLOCKSDK credit to 3 companies on a first-come, first-served basis.

But there are conditions.



1.It is added to the use case company list page of the BLOCKSDK website.

2. If the website has already been created, please send us the domain.

If it hasn't been produced, please send us a white paper or company introduction.
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
January 21, 2021, 02:36:31 AM
 #14

Block SDK V2 is under development.

It supports php, js, python, ruby.

Please feel free to contact me if you have any inconvenience while using it.

https://github.com/Block-Chen

https://docs-v2.blocksdk.com/#introduction
mohsin92
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 22, 2021, 09:26:48 AM
 #15

Try BlockSDK. It simplifies integration of blockchain into your apps using a simple to use API, has a detailed documentation for the APIs and they also have readymade libraries for 9+ different platforms that makes integration easy so you can add cryptobased payments to your app with ease.
crypto_curious
Full Member
***
Offline Offline

Activity: 924
Merit: 175


View Profile
January 22, 2021, 12:35:44 PM
 #16


They stole my e-mail from github I think. No option to unsubscribe at all, which makes it illicit pure spam in my inbox. No idea why legitimate business would do that.
Paid reviews? uhm, ok..
blocksdk (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 2


View Profile WWW
January 22, 2021, 01:59:08 PM
 #17

I'm really sorry.
I'll never send an email like this again

They stole my e-mail from github I think. No option to unsubscribe at all, which makes it illicit pure spam in my inbox. No idea why legitimate business would do that.
Paid reviews? uhm, ok..
mehmetyilmaz52
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 23, 2021, 04:32:07 PM
Last edit: January 29, 2021, 09:55:43 AM by mehmetyilmaz52
 #18

He is printing comments with money. Immoral.  Angry

https://i.imgur.com/lK7DQCw.png
ahzabmuhammed
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 24, 2021, 01:45:19 PM
 #19

BLOCKSDK is a very good service. It is obvious that it is constantly developing.
I will definitely use it in my new projects. It is very successful compared to its alternatives.
topalmustafa
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 24, 2021, 02:46:06 PM
 #20

It looks nice. A reliable service. I will use it in projects I develop with PHP. Thanks for announcing. Smiley
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!