{"id":"e3b58d7a-869f-474e-b12d-a62e840a28fe","shortId":"CTgcqr","kind":"x402","title":"Calculate per-token PnL (realized & unrealized) for any blockchain address via Nansen's on-chain analytics.","tagline":"Calculate per-token PnL (realized & unrealized) for any blockchain address via Nansen's on-chain analytics.","description":"The Nansen Profiler Address PnL endpoint computes profit-and-loss metrics for a specific wallet address and token pair. Given an address (or entity name), chain, and optional date range, it returns realized PnL from completed sales, unrealized PnL from current holdings, average buy/sell prices, cost basis, ROI percentages, and trade counts. It supports 17+ chains including Ethereum, Solana, Base, BNB, Arbitrum, Polygon, and more.\n\nThis endpoint is part of the broader Nansen API v1, which offers smart money tracking, token screening, wallet profiling, prediction market analytics, and an AI research agent. The PnL endpoint specifically answers questions like: what are the realized profits from completed token sales, what unrealized gains exist on current holdings, what was the average purchase and sale price, and what is the total return on investment for a given token.\n\nPayment is handled via the x402 protocol at $0.01 per request (fixed pricing). The endpoint accepts POST requests with a JSON body containing address, chain, optional date range, and optional filters (e.g., show_realized, token_address). Responses include paginated PnL records with fields like pnl_usd_realised, pnl_usd_unrealised, roi_percent_realised, bought_usd, sold_usd, holding_usd, and more. Rate limits and credit usage are returned in response headers.","tags":[],"capabilities":["wallet-pnl","realized-pnl","unrealized-pnl","roi-calculation","multi-chain","address-profiling","token-pnl","cost-basis","x402-payment","on-chain-analytics"],"categories":["blockchain","analytics"],"synonyms":["wallet profit loss","address PnL","token ROI","Nansen profiler","on-chain PnL","wallet performance","trading performance","realized gains","unrealized gains","portfolio PnL"],"warnings":["No live response body captured; example response is synthesized from the OpenAPI schema","Crawled docs pages returned 404 — documentation may only be available via the OpenAPI spec or external Nansen docs site"],"endpointUrl":"https://api.nansen.ai/api/v1/profiler/address/pnl","protocol":"x402","transport":"http","auth":{"type":"x402","details":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f","amount":"10000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},{"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"2wKupLR9q6wXYppw8Gr2NvWxKBUqm4PPJKkQfoxHDBg4"},"payTo":"J7ZvJEspvwP1oRxQZ7mYmNmT22NTm3GWq3t7HEbvPZYx","amount":"10000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","maxTimeoutSeconds":300}]},"qualityScore":"0.920","qualityRationale":"Full OpenAPI 3.1 schema with detailed request/response models, clear x402 pricing ($0.01/call), live 402 challenge confirmed, and comprehensive endpoint documentation. Minor deduction because no example response was directly captured from a live call — the example is constructed from the schema.","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"anthropic/claude-opus-4.6","enrichmentVersion":2,"enrichedAt":"2026-04-22T02:52:45.368Z","embedding":[-0.017471313,0.015419006,0.05026245,0.003435135,0.0009784698,-0.035705566,-0.039886475,0.037475586,0.051086426,-0.017974854,0.017852783,0.01663208,0.011993408,-0.0690918,0.023284912,0.058258057,-0.04473877,0.03640747,-0.038360596,0.045776367,0.049560547,0.0049972534,-0.027435303,-0.014190674,0.01637268,-0.009681702,0.027709961,-0.0025253296,-0.022033691,-0.0045547485,0.04373169,-0.019836426,-0.013885498,0.024536133,-0.016357422,0.0054740906,-0.0013008118,0.02748108,-0.0055656433,0.007686615,-0.014434814,-0.03250122,0.0030078888,0.038116455,-0.018096924,0.04119873,-0.004295349,0.022613525,0.018478394,0.028167725,-0.040649414,-0.0033302307,-0.015930176,0.027282715,-0.005252838,-0.0021038055,0.027694702,0.0074768066,-0.01612854,-0.015930176,0.01739502,-0.072509766,0.05886841,0.006690979,-0.025466919,-0.009880066,-0.046661377,0.044647217,-0.00819397,0.050048828,0.06970215,0.013473511,0.0060653687,0.004878998,-0.02053833,-0.001458168,-0.007926941,0.0031604767,-0.034179688,-0.01826477,-0.004917145,-0.003320694,-0.049468994,-0.015640259,0.025848389,-0.031036377,0.000087976456,-0.027313232,-0.014678955,0.008407593,-0.026687622,-0.034210205,-0.007335663,0.013847351,0.031921387,-0.016586304,-0.00036787987,0.017105103,0.04043579,0.011749268,0.032287598,0.0115737915,0.05117798,-0.004611969,0.029678345,0.070739746,0.015823364,0.0006337166,0.017089844,-0.00712204,-0.062164307,0.017166138,-0.023910522,-0.0012521744,0.0034236908,0.01751709,-0.037597656,0.039489746,0.013809204,-0.008666992,-0.038909912,0.005039215,0.06732178,0.008598328,-0.035369873,-0.0068511963,-0.009010315,-0.037322998,0.017410278,0.010269165,-0.001200676,0.012260437,0.015701294,-0.010131836,-0.062561035,0.003955841,0.003944397,-0.023651123,-0.027008057,0.014167786,0.0184021,-0.0093307495,0.03463745,-0.0073547363,-0.0925293,-0.0012359619,-0.022445679,0.01878357,-0.037017822,-0.0041885376,0.005897522,-0.0231781,-0.01612854,-0.016677856,0.012374878,0.010261536,0.009361267,0.017181396,-0.020126343,-0.020202637,-0.026763916,0.04486084,0.0016918182,0.015304565,0.008621216,0.04714966,0.0007481575,-0.05557251,-0.06335449,0.0045661926,-0.008842468,-0.009674072,0.0050239563,-0.058502197,-0.012428284,-0.04864502,0.0064888,-0.02748108,0.011444092,-0.010475159,-0.031341553,0.00093984604,0.018737793,-0.03656006,-0.041503906,-0.0044555664,-0.027404785,0.030563354,0.004714966,0.03363037,0.014953613,0.010688782,0.022705078,0.048797607,-0.062164307,-0.02532959,0.03262329,0.024246216,-0.039855957,0.016036987,-0.00315094,-0.021850586,0.04647827,0.014060974,-0.016799927,0.029891968,-0.02381897,-0.029296875,0.021133423,-0.017028809,0.061340332,0.013725281,0.030700684,-0.043273926,0.0006933212,-0.0552063,-0.03314209,0.028121948,-0.0011644363,-0.014526367,0.010391235,0.043792725,-0.010108948,-0.01272583,-0.00868988,0.037994385,0.05947876,-0.023162842,0.019058228,-0.08093262,-0.0033359528,0.04284668,-0.017990112,0.013694763,0.019515991,-0.034576416,-0.022659302,-0.019058228,0.0029563904,0.02583313,-0.019104004,0.006259918,0.019958496,0.025466919,0.036346436,-0.004508972,-0.04559326,-0.039215088,0.043182373,0.015472412,0.019943237,0.029022217,0.0014257431,-0.011100769,-0.0016975403,-0.011940002,-0.010375977,0.015182495,0.014083862,-0.043701172,0.057739258,-0.03475952,-0.06304932,-0.0013484955,0.0071907043,-0.0335083,-0.022094727,0.030578613,-0.05810547,0.0048332214,0.035491943,0.04788208,-0.023132324,-0.026947021,-0.04321289,0.04522705,-0.003627777,-0.0042419434,-0.041137695,0.011550903,-0.036376953,-0.007865906,0.020858765,0.0027542114,-0.0060157776,-0.0037212372,0.05303955,0.013763428,0.016586304,-0.037750244,0.0040359497,-0.03866577,0.055145264,0.002866745,0.03475952,-0.0052375793,0.055908203,-0.054138184,0.013465881,0.026672363,-0.00017476082,-0.039916992,-0.018493652,-0.072387695,0.026885986,-0.018066406,-0.0044136047,-0.01612854,0.0019798279,-0.0005598068,-0.0070495605,0.050079346,0.021850586,-0.0597229,0.02456665,0.009361267,0.05630493,-0.021591187,0.0056381226,0.008079529,-0.0054359436,-0.044708252,-0.0007610321,-0.017730713,-0.016815186,0.024246216,-0.0039901733,-0.013549805,0.035980225,0.005367279,0.031433105,0.010345459,-0.02571106,-0.0023899078,-0.026504517,0.0017938614,0.022918701,-0.04043579,0.009384155,0.0008034706,-0.005680084,-0.0368042,-0.014785767,-0.02330017,0.032684326,-0.00026535988,0.008544922,0.032287598,0.022567749,0.020309448,-0.0368042,0.014846802,0.0552063,0.022567749,0.036590576,0.029434204,0.029464722,-0.03994751,-0.05606079,-0.002735138,-0.047302246,-0.007904053,0.027908325,0.036315918,0.011634827,-0.00178051,-0.06542969,-0.028915405,0.012954712,-0.0826416,0.034362793,0.037078857,0.04031372,0.0077819824,-0.019714355,0.024536133,0.030792236,0.004863739,-0.009002686,-0.018707275,0.041931152,0.011077881,-0.009933472,0.009002686,0.010040283,0.038726807,0.013771057,-0.02267456,-0.041900635,-0.018508911,0.026672363,-0.017288208,-0.027770996,-0.057861328,0.019058228,0.00111866,0.012924194,0.0066947937,0.009216309,-0.008544922,-0.033294678,0.042755127,0.0068092346,-0.0871582,0.009727478,0.009033203,-0.018707275,0.010185242,0.020111084,0.0043678284,-0.035095215,-0.009498596,0.012367249,0.0025997162,0.07824707,-0.022079468,0.0010690689,0.007297516,0.0015506744,-0.006679535,0.03677368,-0.05050659,0.030776978,-0.032348633,-0.08874512,-0.010650635,0.041503906,-0.021453857,-0.032684326,-0.05718994,0.04837036,0.041168213,0.031036377,-0.058013916,-0.040649414,-0.024429321,0.035125732,0.0317688,-0.0058288574,0.03286743,-0.0054359436,-0.0020599365,-0.053955078,0.0074539185,-0.039489746,-0.0010299683,-0.018127441,-0.055664062,0.00016200542,-0.012023926,-0.024612427,0.019470215,0.042541504,-0.01424408,-0.02859497,-0.04348755,0.038879395,0.022125244,0.010276794,0.010719299,0.027450562,-0.022750854,0.06604004,0.011886597,0.00522995,-0.030944824,-0.064819336,0.0036373138,0.022521973,-0.003276825,0.013336182,-0.01966858,-0.034362793,0.004081726,-0.04373169,0.020355225,-0.02557373,-0.0031013489,-0.022613525,-0.015090942,-0.0007376671,0.0026435852,-0.058288574,0.020263672,0.07067871,0.07366943,0.0046958923,0.038391113,-0.0340271,-0.02406311,0.031707764,-0.011360168,0.035461426,-0.011543274,-0.02986145,0.0042037964,-0.02494812,0.012687683,0.015960693,0.01084137,0.01197052,-0.038970947,0.037994385,0.04486084,0.018829346,0.013450623,-0.017654419,0.009529114,-0.037628174,0.068603516,-0.03756714,0.043823242,0.0067100525,-0.03982544,-0.05117798,0.008956909,-0.043884277,-0.00024175644,0.008483887,0.0020370483,0.052124023,0.017852783,0.0178833,-0.012832642,0.02420044,-0.007843018,-0.04812622,-0.024993896,0.011497498,-0.03427124,0.0362854,-0.030822754,0.011199951,0.038238525,-0.046447754,-0.0029506683,0.023361206,-0.023880005,-0.046142578,0.0017366409,-0.0075798035,-0.0234375,-0.016906738,-0.033813477,0.035003662,-0.0010108948,0.064453125,0.011100769,0.027664185,0.034240723,0.03186035,-0.011886597,0.02067566,-0.026428223,-0.021194458,0.027191162,0.01663208,-0.023712158,0.027435303,0.0060920715,0.011688232,0.0012807846,0.025802612,0.008132935,0.058929443,0.0059547424,0.020889282,-0.006248474,-0.04019165,0.032440186,-0.0057868958,-0.010604858,0.005886078,0.00060129166,0.06854248,0.00012153387,-0.027954102,-0.0017337799,0.002916336,0.024276733,-0.02709961,0.016983032,-0.010482788,0.004589081,-0.023910522,0.06652832,-0.015304565,-0.012184143,-0.024398804,0.012771606,0.011955261,-0.033447266,-0.00843811,0.010810852,-0.05532837,-0.025497437,0.01133728,-0.003873825,-0.0071754456,-0.030410767,0.039855957,-0.0005865097,-0.023803711,0.010848999,-0.041381836,0.0084991455,-0.015640259,0.02017212,-0.005470276,0.004371643,-0.025848389,0.02104187,0.008483887,0.0069236755,-0.0335083,0.024612427,0.0067863464,0.007965088,-0.008415222,0.007762909,-0.002960205,-0.044067383,0.03778076,0.018615723,0.016601562,-0.0101623535,-0.019439697,-0.027694702,-0.0209198,0.01209259,0.033569336,0.0124053955,0.03390503,-0.02420044,0.006160736,0.010536194,0.002696991,-0.002374649,-0.011299133,-0.07141113,0.00623703,0.012840271,0.0057907104,-0.023361206,-0.027267456,-0.01675415,0.0033359528,0.01586914,-0.013595581,-0.016433716,-0.029174805,-0.023880005,0.039245605,-0.030395508,0.000333786,-0.020095825,-0.018295288,-0.017852783,-0.00762558,0.052368164,-0.033721924,0.04232788,-0.0064468384,0.034576416,-0.009468079,0.024810791,0.02204895,0.039276123,0.02053833,-0.00090551376,-0.0178833,0.082214355,-0.0067634583,0.0071754456,-0.007965088,0.03314209,0.0069351196,-0.045776367,0.022994995,-0.00060892105,-0.005203247,-0.0005226135,-0.0054512024,-0.0020046234,-0.00054454803,-0.012954712,0.038757324,0.017059326,0.014755249,-0.007007599,-0.00041770935,0.001332283,-0.0064353943,-0.022659302,0.003458023,0.021362305,0.013282776,0.03186035,-0.01234436,-0.009086609,-0.030731201,-0.004463196,-0.02760315,-0.0592041,-0.027008057,-0.029144287,-0.03100586,0.01171875,0.03665161,-0.014465332,-0.02494812,0.028579712,-0.013214111,-0.0038204193,-0.019012451,0.02848816,-0.0008163452,-0.011978149,0.019592285,-0.04852295,0.028427124,-0.0031414032,-0.009132385,0.005264282,-0.0017471313,0.005592346,-0.012168884,0.024291992,0.019058228,-0.017486572,-0.007801056,-0.045837402,-0.018966675,-0.007972717,-0.021362305,-0.004234314,0.026733398,-0.0016756058,-0.033050537,-0.00003618002,-0.011764526,-0.026473999,-0.020568848,-0.050933838,-0.0009365082,-0.009048462,0.0017356873,-0.0082092285,0.0059013367,0.0014514923,-0.04510498,0.007709503,0.00035977364,0.032470703,0.023986816,-0.034576416,-0.012763977,-0.016616821,-0.013694763,-0.021728516,-0.0071372986,0.024291992,-0.0037574768,0.054534912,0.016662598,0.000009834766,-0.0079193115,0.030059814,0.0045204163,-0.031402588,-0.0031719208,0.010818481,-0.008094788,0.0034313202,0.08343506,-0.04864502,-0.015220642,-0.0038852692,-0.0038070679,0.02748108,0.0065994263,-0.016418457,0.037017822,-0.032196045,0.01247406,0.029647827,-0.0047798157,-0.0072402954,-0.02809143,-0.00090408325,-0.062927246,0.020431519,-0.0026016235,-0.039855957,0.022033691,0.038909912,-0.014045715,-0.050567627,0.0033035278,-0.004371643,-0.026519775,0.016830444,-0.0045700073,-0.00623703,0.04168701,-0.022857666,-0.008972168,0.052612305,-0.032348633,0.003753662,-0.009750366,0.015220642,-0.007621765,0.030273438,0.0112838745,0.023742676,0.000058412552,-0.002155304,0.006958008,-0.002658844,0.019866943,-0.0071487427,0.025665283,-0.0053100586,0.025756836,0.029968262,-0.050994873,0.009140015,0.016479492,0.030014038,-0.011192322,0.00920105,-0.003479004,-0.007160187,-0.035369873,-0.010231018,-0.019317627,0.01600647,-0.030532837,0.0069007874,0.005104065,0.0056266785,-0.01991272,-0.048309326,0.01826477,-0.013343811,0.0031833649,0.023223877,-0.025497437,0.00040364265,-0.034057617,0.00030565262,0.015899658,0.011016846,0.018798828,0.0035743713,0.014656067,0.009239197,0.025024414,-0.024154663,-0.00009661913,-0.01247406,0.030349731,-0.018341064,-0.022399902,0.013092041,-0.015388489,-0.027938843,0.011505127,-0.0022602081,0.0018625259,0.018508911,0.0005335808,0.035095215,-0.0141067505,0.0005712509,-0.008003235,0.0059280396,-0.0044898987,0.009300232,0.023132324,0.013694763,0.02003479,0.0390625,0.0022678375,-0.011924744,-0.047302246,0.002483368,-0.023086548,0.015335083,-0.00038981438,0.023376465,-0.027328491,-0.015792847,0.033691406,0.010314941,-0.01108551,0.034332275,-0.0019321442,-0.01171875,0.041046143,-0.013069153,0.02355957,0.0000590086,0.016357422,-0.022628784,0.0045700073,0.009994507,0.023391724,-0.007019043,0.042297363,0.020477295,0.014823914,0.0067863464,0.03262329,0.0024700165,0.014541626,0.014129639,-0.011299133,-0.0074005127,0.04071045,-0.016418457,-0.022994995,-0.0027580261,0.018447876,-0.014549255,-0.031463623,-0.04928589,0.03262329,-0.029144287,-0.00058174133,0.01285553,0.026016235,0.06341553,0.017501831,0.042175293,-0.003293991,-0.01576233,0.015449524,0.011474609,0.036468506,0.03250122,0.019165039,-0.025756836,-0.0030612946,-0.0072517395,0.0038642883,-0.022994995,0.027770996,-0.026779175,-0.009292603,-0.04336548,-0.0033302307,-0.013092041,0.008934021,-0.038879395,0.044921875,0.011444092,0.054656982,-0.004852295,0.05758667,0.002664566,-0.019088745,-0.06793213,0.008865356,-0.024276733,0.015655518,0.003709793,-0.034362793,0.030654907,-0.01586914,0.03375244,-0.011230469,0.045837402,0.051513672,0.012039185,-0.018127441,0.021026611,0.0042762756,0.05633545,0.0009841919,0.03753662,-0.031051636,-0.031463623,0.0021533966,0.031341553,0.008377075,-0.010795593,0.042541504,0.014312744,0.035888672,0.035705566,0.0020122528,-0.023620605,0.01525116,-0.0037517548,-0.007827759,0.008346558,0.03152466,0.021499634,0.004310608,0.006175995,0.014320374,-0.012458801,-0.029571533,0.01322937,0.037963867,0.0107040405,-0.0059013367,-0.04449463,0.028289795,-0.007850647,-0.035583496,-0.0056114197,0.02809143,-0.0129776,0.009719849,-0.014503479,-0.025039673,0.0028133392,-0.019805908,-0.0155181885,0.0030441284,0.020202637,0.00687027,-0.005016327,0.01550293,-0.055145264,0.016098022,0.00082445145,0.019866943,0.04055786,-0.0003695488,0.00869751,-0.0006432533,0.039367676,-0.022994995,0.01939392,0.00299263,-0.012619019,0.005558014,-0.0066947937,-0.016403198,-0.020401001,0.033050537,0.008407593,0.012245178,0.023925781,0.04083252,0.010017395,-0.004547119,0.010925293,0.011772156,0.008476257,0.012702942,0.032287598,0.00006443262,-0.023788452,0.03010559,0.0031547546,-0.0010242462,0.007270813,-0.006942749,-0.0013933182,0.0012559891,0.0692749,0.005756378,-0.0025119781,-0.009719849,-0.006713867,-0.009635925,0.0012559891,0.01600647,0.021575928,-0.0010061264,0.0236969,0.031829834,-0.0065460205,0.017410278,0.0024089813,0.007980347,0.018341064,-0.037994385,0.012138367,0.016830444,0.017745972,0.007358551,0.0019035339,0.01424408,0.029647827,0.008926392,-0.013885498,0.03668213,0.02609253,0.021850586,0.010635376,-0.0076942444,0.055541992,-0.0012025833,-0.023773193,-0.011138916,-0.009819031,0.012123108,0.04055786,-0.016662598,-0.021530151,0.0047836304,-0.0071487427,-0.012123108,0.0028057098,0.027496338,-0.0013513565,0.04159546,0.008674622,-0.035461426,0.014816284,0.010429382,0.014038086,-0.0116119385,0.008552551,-0.013557434,0.000854969,0.007980347,0.04345703,-0.03237915,0.0025596619,-0.0050354004,-0.0014038086,0.0020942688,-0.017730713,0.03289795,0.000487566,0.012565613,0.017684937,-0.010734558,-0.03842163,-0.0184021,-0.005050659,-0.005924225,-0.004764557,-0.0014266968,-0.004047394,-0.0007324219,-0.0087509155,0.030075073,0.009857178,0.01234436,0.06088257,0.0073242188,0.016647339,0.009971619,-0.008842468,0.051239014,0.03970337,-0.011436462,0.019714355,0.019989014,0.0023498535,0.008483887,-0.008331299,-0.028671265,0.034484863,-0.00089359283,-0.0032615662,-0.014984131,0.012763977,0.0050086975,-0.009246826,0.017120361,0.034606934,0.018005371,0.019454956,-0.0050086975,-0.019744873,0.01889038,-0.024246216,0.012046814,0.019500732,0.009033203,0.020004272,0.03842163,0.031173706,-0.0015611649,-0.032989502,0.034057617,-0.0065231323,0.004436493,0.020339966,-0.036224365,0.029083252,-0.0010738373,-0.019592285,0.022628784,0.02947998,0.013259888,0.00806427,0.007160187,-0.015090942,-0.009918213,0.01979065,0.001783371,0.030960083,0.030395508,0.023971558,0.030776978,0.0045776367,-0.0019874573,0.021957397,0.019882202,-0.027908325,0.012763977,-0.0013484955,-0.009933472,0.014373779,-0.023254395,-0.02128601,0.008430481,-0.013580322,0.036346436,-0.017791748,-0.014762878,0.018035889,0.022064209,-0.013069153,0.013580322,-0.009384155,-0.015289307,-0.032684326,0.00027155876,0.013748169,0.01637268,-0.019897461,0.011146545,-0.0020542145,0.025039673,-0.03475952,0.017791748,-0.048217773,0.032165527,0.010215759,0.007221222,-0.015098572,-0.0030517578,-0.012702942,-0.018081665,0.0026626587,0.001247406,0.012557983,-0.017196655,0.0019102097,0.019042969,0.015525818,0.0059280396,-0.013061523,0.022216797,-0.01272583,-0.021743774,-0.0014915466,-0.0025310516,0.008300781,-0.025299072,0.0019702911,0.027832031,-0.0014715195,0.013824463,-0.025634766,0.019699097,0.021026611,0.016036987,-0.012390137,0.0062065125,-0.008323669,-0.017074585,0.021194458,0.007980347,-0.0028896332,0.019546509,0.04272461,0.034973145,0.033813477,-0.0069351196,-0.0030765533,0.010765076,-0.029724121,-0.009666443,0.011558533,0.046539307,-0.005710602,0.010345459,-0.014465332,-0.026184082,-0.0006670952,0.0602417,0.0019664764,-0.022338867,0.020080566,-0.005241394,-0.00522995,0.0027866364,0.0029468536,0.017105103,0.009796143,-0.022201538,-0.0184021,-0.033599854,0.006614685,0.011878967,0.026000977,-0.034118652,-0.03286743,-0.026000977,-0.0002887249,-0.005531311,-0.010536194,-0.026397705,0.0021133423,0.03250122,-0.002811432,-0.022521973,-0.0071144104,0.003124237,0.03829956,0.00434494,0.00011444092,-0.009643555,-0.021148682,-0.015113831,-0.009155273,-0.026672363,0.009033203,-0.04006958,0.02798462,-0.009796143,0.001543045,-0.0099487305,0.033172607,-0.00233078,0.027404785,-0.040222168,-0.024154663,0.002910614,0.022506714,0.043792725,0.027053833,-0.037597656,-0.01687622,-0.013832092,0.02558899,0.026290894,0.00060653687,0.015899658,-0.019241333,0.033416748,-0.011878967,-0.014984131,-0.011398315,0.022659302,-0.019485474,0.033691406,0.025039673,-0.010292053,0.0038967133,-0.03250122,-0.028549194,0.011459351,0.011207581,0.010047913,0.00447464,0.014320374,-0.0060310364,-0.026779175,-0.0016908646,0.023132324,-0.0055389404,0.02017212,-0.015640259,0.00522995,0.008636475,-0.010894775,0.02180481,0.011528015,0.0028133392,-0.028717041,0.014633179,-0.020828247,-0.00080251694,-0.0032672882,-0.0065231323,-0.024658203,0.0463562,0.008926392,0.0015878677,-0.033081055,0.045135498,-0.0008125305,-0.037109375,-0.008850098,-0.0035934448,0.041778564,-0.014945984,0.0025672913,-0.0025291443,0.0069847107,0.048217773,0.029937744,-0.008995056,-0.0057296753,0.0013856888,-0.007751465,0.013748169,0.0053901672,-0.021133423,0.02798462,0.009498596,-0.00086450577,-0.0044059753,-0.0051193237,0.028671265,0.010429382,0.011749268,-0.02178955,0.056152344,0.0158844,0.015220642,-0.02217102,0.036834717,-0.020767212,0.021347046,0.028717041,-0.024993896,0.014038086,-0.00831604,0.014984131,-0.0061836243,0.003643036,0.017959595,-0.00040125847,-0.010513306,-0.011009216,-0.0039405823,0.0039138794,0.0020313263,0.005378723,0.02848816,-0.021514893,0.02507019,0.018722534,-0.0129852295,-0.023269653,0.00062942505,0.0075302124,0.025756836,-0.0013380051,0.014213562,0.019958496,0.017074585,-0.01637268,-0.027313232,-0.0074005127,0.0060157776,-0.016143799,0.038146973,0.018173218,0.002614975,0.0005669594,0.02633667,0.00047302246,0.026473999,0.024536133,0.012924194,0.012069702,0.012458801,0.0069351196,0.014732361,0.0066604614,0.01574707,-0.009773254,0.0055732727,-0.020645142,0.0004618168,0.009674072,0.00022888184,0.035217285,0.036132812,-0.011581421,0.052337646,-0.052947998,0.0061531067,-0.0018968582,-0.030288696,-0.018508911,0.028152466,0.025466919,0.03503418,-0.002298355,-0.013450623,0.021194458,0.011688232,0.04840088,-0.003768921,-0.021072388,-0.0013713837,0.012176514,-0.0073547363,0.019638062,-0.0259552,-0.010978699,-0.03579712,0.013420105,-0.013595581,0.041748047,-0.02458191,-0.009223938,0.020523071,-0.00070905685,-0.044036865,0.0096206665,0.002506256,0.01675415,0.01448822,0.0049705505,-0.016479492,0.033081055,-0.0016222,0.008590698,0.01965332,-0.012001038,0.024993896,0.013061523,0.025283813,0.008903503,0.047424316,-0.008773804,-0.020462036,0.0141067505,-0.018676758],"createdAt":"2026-04-21T18:32:40.672Z","updatedAt":"2026-04-22T05:32:33.482Z","lastSeenAt":"2026-04-22T05:32:33.482Z","tsv":"'0.01':181 '17':92 'Nansen profiler' 'accept':188 'address':11,29,40,53,59,196,208 'address PnL' 'address-profiling' 'agent':129 'ai':127 'analyt':18,36,124 'answer':134 'api':111 'arbitrum':99 'averag':80,156 'base':97 'basi':84 'blockchain':10,28 'bnb':98 'bodi':194 'bought':226 'broader':109 'buy/sell':81 'calcul':1,19 'chain':17,35,63,93,197 'complet':73,143 'comput':43 'contain':195 'cost':83 'cost-basis' 'count':89 'credit':237 'current':78,151 'date':66,199 'e.g':204 'endpoint':42,104,132,187 'entiti':61 'ethereum':95 'exist':149 'field':215 'filter':203 'fix':184 'gain':148 'given':57,171 'handl':175 'header':243 'hold':79,152,230 'includ':94,210 'invest':168 'json':193 'like':136,216 'limit':235 'loss':47 'market':123 'metric':48 'money':116 'multi-chain' 'name':62 'nansen':13,31,38,110 'offer':114 'on-chain':15,33 'on-chain PnL' 'on-chain-analytics' 'option':65,198,202 'pagin':211 'pair':56 'part':106 'payment':173 'per':3,21,182 'per-token':2,20 'percent':224 'percentag':86 'pnl':5,23,41,71,76,131,212,217,220 'polygon':100 'portfolio PnL' 'post':189 'predict':122 'price':82,160,185 'profil':39,121 'profit':45,141 'profit-and-loss':44 'protocol':179 'purchas':157 'question':135 'rang':67,200 'rate':234 'realis':219,225 'realiz':6,24,70,140,206 'realized gains' 'realized-pnl' 'record':213 'request':183,190 'research':128 'respons':209,242 'return':69,166,240 'roi':85,223 'roi-calculation' 'sale':74,145,159 'screen':119 'show':205 'smart':115 'solana':96 'sold':228 'specif':51,133 'support':91 'token':4,22,55,118,144,172,207 'token ROI' 'token-pnl' 'total':165 'track':117 'trade':88 'trading performance' 'unreal':7,25,75,147 'unrealis':222 'unrealized gains' 'unrealized-pnl' 'usag':238 'usd':218,221,227,229,231 'v1':112 'via':12,30,176 'wallet':52,120 'wallet performance' 'wallet profit loss' 'wallet-pnl' 'x402':178 'x402-payment'","prices":[{"id":"0880457e-5851-4256-a162-3292ae24e43c","listingId":"e3b58d7a-869f-474e-b12d-a62e840a28fe","amountUsd":null,"unit":"per_call","nativeCurrency":"USD COIN","nativeAmount":null,"chain":"base","payTo":"0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f","paymentMethod":"x402-usd coin","isPrimary":true,"details":{"scheme":"exact","accepts_all":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f","amount":"10000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},{"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"2wKupLR9q6wXYppw8Gr2NvWxKBUqm4PPJKkQfoxHDBg4"},"payTo":"J7ZvJEspvwP1oRxQZ7mYmNmT22NTm3GWq3t7HEbvPZYx","amount":"10000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","maxTimeoutSeconds":300}],"asset_contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","max_timeout_seconds":300},"createdAt":"2026-04-21T18:32:40.672Z"}],"sources":[{"listingId":"e3b58d7a-869f-474e-b12d-a62e840a28fe","source":"x402_bazaar","sourceId":"https://api.nansen.ai/api/v1/profiler/address/pnl","sourceUrl":"https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources","isPrimary":true,"firstSeenAt":"2026-04-21T18:32:40.672Z","lastSeenAt":"2026-04-22T05:32:33.482Z"}],"details":{"listingId":"e3b58d7a-869f-474e-b12d-a62e840a28fe","quickStartSnippet":"curl -X POST https://api.nansen.ai/api/v1/profiler/address/pnl \\\n  -H 'Content-Type: application/json' \\\n  -H 'Payment-Signature: <x402_payment_signature>' \\\n  -d '{\n    \"address\": \"0x39d52da6beec991f075eebe577474fd105c5caec\",\n    \"chain\": \"ethereum\",\n    \"pagination\": {\"page\": 1, \"per_page\": 10}\n  }'","exampleRequest":{"date":{"to":"2025-05-03T23:59:59Z","from":"2025-05-01T00:00:00Z"},"chain":"ethereum","address":"0x39d52da6beec991f075eebe577474fd105c5caec","filters":{"show_realized":false},"pagination":{"page":1,"per_page":10}},"exampleResponse":{"data":[{"nof_buys":"12","sold_usd":2750,"nof_sells":"5","bought_usd":5000,"holding_usd":2500,"sold_amount":2500,"token_price":1,"token_symbol":"USDC","bought_amount":5000,"token_address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","cost_basis_usd":4750,"holding_amount":2500,"max_balance_held":6000,"pnl_usd_realised":250,"avg_sold_price_usd":1.1,"pnl_usd_unrealised":100,"max_balance_held_usd":6000,"roi_percent_realised":0.05,"roi_percent_unrealised":0.02}],"pagination":{"page":1,"per_page":10,"is_last_page":false}},"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[{"claim":"The endpoint is at POST /api/v1/profiler/address/pnl and calculates profit and loss metrics for a specific address and token","source_url":"https://api.nansen.ai"},{"claim":"x402 fixed pricing at $0.01 per request","source_url":"https://api.nansen.ai"},{"claim":"Supports chains including ethereum, solana, base, bnb, arbitrum, avalanche, polygon, and more (ProfilerPnLChain enum)","source_url":"https://api.nansen.ai"},{"claim":"Returns realized PnL, unrealized PnL, ROI percentages, cost basis, bought/sold amounts, and holding data","source_url":"https://api.nansen.ai"},{"claim":"The endpoint returned HTTP 402 with x402 payment challenge confirming it is live","source_url":"https://api.nansen.ai/api/v1/profiler/address/pnl"}],"useCases":["Calculate realized and unrealized PnL for a wallet's token positions across multiple chains","Evaluate a trader's ROI on specific tokens before copying their strategy","Build portfolio tracking dashboards with per-token cost basis and performance metrics","Audit wallet trading performance for due diligence on fund managers or smart money addresses","Backtest trading signals by analyzing historical PnL of identified smart money wallets"],"bestFor":["Agents or apps that need per-token PnL breakdowns for any on-chain address","Portfolio trackers requiring cost basis and ROI calculations across 17+ chains","Research workflows analyzing wallet trading performance with realized vs unrealized splits"],"notFor":["Real-time streaming price feeds or sub-second trade execution signals","Off-chain or CEX-only portfolio tracking with no on-chain component","Free-tier bulk data dumps — each call costs $0.01 via x402"],"kindDetails":{},"updatedAt":"2026-04-22T02:52:45.368Z"}}