I am trying to place a new order using Mt. Gox's submit an order API call. However I keep on getting the error object

{ result: 'error', error: 'Bad API call' }

I'm fairly certain I'm doing everything right, except I suppose the order Id which is referred to as BTCUSD in the documentation.


It gives no other explanation on what this field is, and I have found other projects calling it ID, so I'm using the node-uuid v1() method to generate a unique ID for the field.

So this is the URL I create:


and the object I send with it

{ type: 'ask', amount_int: '100000.000', price_int: '20000000' }

What am I doing wrong?

1 Answer 1


This field is used to spcify the currency pair type of the return data, so leaving in BTCUSD works fine or changing it to a different accepted currency pair, such as BTCEUR, also works and just changes the currency denomination of the returned data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.