API Reference

method GetCoinAttributes(pBarscan, pGetPopulation, pService, pLogin, pPword)

Obtains an XML formatted packet of MUSIC data describing the scanned coin. This method can optionally provide population information.

WSDL documentation

Parameters

pBarscan
Type: string, required
The barscan of the coin that you want to scan in. Valid lengths are 16, 18, 20 and 22 depending on the grading service.

pGetPopulation
Type: boolean, required

Pass in True to instruct the API to also return coin population information.

pService
Type: string, required
Pass a "01" for PCGS, "02" for NGC.

pLogin
Type: string, required
Your MusicWebAPI login, provided by CoinNexus.

pPword
Type: string, required
Your MusicWebAPI password, provided by CoinNexus.

Return Value

Type: cCoinAttributes
An XML formatted package of information describing the coin.

method GetCoinPricing(pSource, pService, pPcgsNo, pGrade, pIsPlus, pType, pLogin, pPword, pIqCode)

Obtains a price for the scanned coin.

WSDL documentation

Parameters

pSource
Type: string, required
Indicates the pricing source to retrieve. Acceptable values are ATC, BLS, CWT, CUV, GRY, NUM, POP, MLT.

pService
Type: string, required
Grading service for the coin. Acceptable values are PCGS or NGC.

pPcgsNo
Type: string, required
PCGS value for the coin. The string should be lead zero filed to six characters. For example, "007074".

pGrade
Type: string, required
Coin grade. The string should be lead zero filed to two characters. For example, "08", "65".

pIsPlus
Type: boolean, required
Indicates a plus grade. Pass a 1 to indicate a plus grade coin.

pType
Type: string, required
Indicates the price type. Acceptable values include BID, ASK, FMV, MKT.

The table below indicates valid combinations of pSource, pService and pType.

SourceServiceType
ATCPCGS / NGCBID / ASK
BLSPCGS / NGCIgnored
CWTIgnoredIgnored
CUVIgnoredIgnored
GRYIgnoredBID / ASK
NUMIgnoredFMV / MKT
POPPCGS / NGCIgnored
MLTPCGS / NGCIgnored

pLogin
Type: string, required
Your MusicWebAPI login, provided by CoinNexus.

pPword
Type: string, required
Your MusicWebAPI password, provided by CoinNexus.

pIqCode
Type: string, required
Your MusicWebAPI IQ Code, provided by CoinNexus.

Return Value

Type: decimal
A price value for the coin.

object cCoinAttributes

Contains an XML formatted packet of pricing data for the scanned coin.

Elements

Barscan, string
The scanned barcode that was passed in.

CertNo, string
Certification number.

Denom, string
Denomination.

DenomGroup, string
Denomination grouping letter.

Desig, string
Grading designation, PR for proof, G, VG, XF, MS, etc.

DesignAKA, string
Common name for design and denomination.

Grade, string
Grade.

Invoice, string
Standardized description of the coin.

KnownAs, string
Condensed, more common name.

Metal, string
Single letter for metal (G=Gold S=Silver P=Platinum D=Paladium C=Copper).

Mintage, long
Mintage, if available.

MMID, string
Internal ID for this coin.

PcgsNo, string
PCGS number for this coin.

Plus, boolean
Indicates a plus grade.

Population, long
Coin population.

PopHigher, long
Coin population higher than this grade.

Rollup, string
More common name for the denomination.

Sbdesig, string
Sub-designation, e.g. BN, RB, RD, FBL.

Secure, boolean
Indicates a PCGS "Secure" coin.

Star, boolean
Indicates a "Star" designation.

Strike, string
The coin strike, e.g. "DMPL".

ValidID, integer
Indicates if the barcode parameter passed in is valid or not. 1 = valid, 0 = invalid.

Variety, string
The coin variety.

VendorAttribution, string
Vendor attribution.

VendorDescription, string
Vendor description.

VendorPedigree, string
Vendor pedigree.

Version, string
MUSIC version.

Wdesign, string
Design, as it should appear on the web.

Wstrike, string
Strike, as it should appear on the web.

Wyearmm, string
Year and mint mark, as it should appear on the web.

YearMM, string
Year and mint mark.